mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-03 02:29:29 +01:00
chore: Remove dividers
This commit is contained in:
parent
6108c1bb15
commit
e2724cdc46
@ -195,23 +195,7 @@ class ChatListView extends StatelessWidget {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
final totalCount = rooms.length + 1;
|
final totalCount = rooms.length + 1;
|
||||||
return ListView.separated(
|
return ListView.builder(
|
||||||
separatorBuilder: (_, __) => Row(
|
|
||||||
children: [
|
|
||||||
Spacer(),
|
|
||||||
Container(
|
|
||||||
height: 1,
|
|
||||||
width: 200,
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
gradient: LinearGradient(
|
|
||||||
colors: [
|
|
||||||
Colors.transparent,
|
|
||||||
Theme.of(context).dividerColor,
|
|
||||||
],
|
|
||||||
)),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
itemCount: totalCount,
|
itemCount: totalCount,
|
||||||
itemBuilder: (BuildContext context, int i) {
|
itemBuilder: (BuildContext context, int i) {
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user