Improved design
This commit is contained in:
parent
fac2377ca2
commit
d8e415e416
2 changed files with 4 additions and 2 deletions
|
|
@ -170,7 +170,9 @@ class _ChatListState extends State<ChatList> {
|
|||
),
|
||||
);
|
||||
}
|
||||
return ListView.builder(
|
||||
return ListView.separated(
|
||||
separatorBuilder: (BuildContext context, int i) =>
|
||||
Divider(indent: 70, height: 1),
|
||||
itemCount: rooms.length,
|
||||
itemBuilder: (BuildContext context, int i) => ChatListItem(
|
||||
rooms[i],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue