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( return Padding(
padding: const EdgeInsets.all(8.0), padding: const EdgeInsets.all(8.0),
child: Opacity( child: Opacity(
opacity: 0.66, opacity: 0.5,
child: Bubble( child: Bubble(
color: Colors.black, color: Colors.black,
elevation: 0, 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, itemCount: rooms.length,
itemBuilder: (BuildContext context, int i) => ChatListItem( itemBuilder: (BuildContext context, int i) => ChatListItem(
rooms[i], rooms[i],