From d8e415e4161a40ab6eb6781dde98b7761adf33c1 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Fri, 3 Jan 2020 14:47:42 +0100 Subject: [PATCH] Improved design --- lib/components/list_items/state_message.dart | 2 +- lib/views/chat_list.dart | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/components/list_items/state_message.dart b/lib/components/list_items/state_message.dart index 8dcc715..29963e2 100644 --- a/lib/components/list_items/state_message.dart +++ b/lib/components/list_items/state_message.dart @@ -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, diff --git a/lib/views/chat_list.dart b/lib/views/chat_list.dart index 8d9430d..0bb7333 100644 --- a/lib/views/chat_list.dart +++ b/lib/views/chat_list.dart @@ -170,7 +170,9 @@ class _ChatListState extends State { ), ); } - 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],