Improved design
This commit is contained in:
parent
fac2377ca2
commit
d8e415e416
|
@ -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,
|
||||||
|
|
|
@ -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],
|
||||||
|
|
Loading…
Reference in a new issue