Improved design

This commit is contained in:
Christian Pauly 2020-01-03 14:47:42 +01:00
parent fac2377ca2
commit d8e415e416
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ class StateMessage extends StatelessWidget {
return Padding(
padding: const EdgeInsets.all(8.0),
child: Opacity(
opacity: 0.66,
opacity: 0.5,
child: Bubble(
color: Colors.black,
elevation: 0,

View File

@ -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],