|
|
|
@ -83,12 +83,11 @@ class _ChatHomeScreenState extends State<ChatHomeScreen> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if (m.searchedChats != null)
|
|
|
|
if (m.searchedChats != null)
|
|
|
|
ListView.separated(
|
|
|
|
ListView.separated(
|
|
|
|
itemCount: m.searchedChats!.length + 20,
|
|
|
|
itemCount: m.searchedChats!.length,
|
|
|
|
padding: const EdgeInsets.only(bottom: 80),
|
|
|
|
padding: const EdgeInsets.only(bottom: 80),
|
|
|
|
shrinkWrap: true,
|
|
|
|
shrinkWrap: true,
|
|
|
|
physics: const NeverScrollableScrollPhysics(),
|
|
|
|
physics: const NeverScrollableScrollPhysics(),
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
|
|
index = 0;
|
|
|
|
|
|
|
|
return SizedBox(
|
|
|
|
return SizedBox(
|
|
|
|
height: 55,
|
|
|
|
height: 55,
|
|
|
|
// todo @aamir, remove list tile, make a custom ui instead
|
|
|
|
// todo @aamir, remove list tile, make a custom ui instead
|
|
|
|
|