From 79cdb5a0997ea5d26e3883b0c2535dc90bb78f73 Mon Sep 17 00:00:00 2001 From: Mrdabup Date: Sat, 2 Nov 2024 13:30:52 -0400 Subject: [PATCH] Next: UI --- lib/widgets/sessions/session_list.dart | 9 +++++++-- lib/widgets/sessions/session_list_next.dart | 10 ++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 lib/widgets/sessions/session_list_next.dart diff --git a/lib/widgets/sessions/session_list.dart b/lib/widgets/sessions/session_list.dart index 47600ee..b683db7 100644 --- a/lib/widgets/sessions/session_list.dart +++ b/lib/widgets/sessions/session_list.dart @@ -80,7 +80,7 @@ class _SessionListState extends State with AutomaticKeepAliveClient side: BorderSide( color: Theme.of(context).colorScheme.outline, ), - borderRadius: BorderRadius.circular(16), + borderRadius: BorderRadius.circular(30), ), child: InkWell( onTap: () { @@ -94,7 +94,7 @@ class _SessionListState extends State with AutomaticKeepAliveClient Expanded( flex: 5, child: ClipRRect( - borderRadius: BorderRadius.circular(16), + borderRadius: BorderRadius.circular(30), child: Hero( tag: session.id, child: CachedNetworkImage( @@ -112,6 +112,11 @@ class _SessionListState extends State with AutomaticKeepAliveClient ), ), ), + Expanded( + flex: 1 + child: Padding(padding: ,), + + ), Expanded( flex: 2, child: Padding( diff --git a/lib/widgets/sessions/session_list_next.dart b/lib/widgets/sessions/session_list_next.dart new file mode 100644 index 0000000..421477c --- /dev/null +++ b/lib/widgets/sessions/session_list_next.dart @@ -0,0 +1,10 @@ +import 'package:cached_network_image/cached_network_image.dart'; +import 'package:OpenContacts/auxiliary.dart'; +import 'package:OpenContacts/clients/session_client.dart'; +import 'package:OpenContacts/models/session.dart'; +import 'package:OpenContacts/widgets/default_error_widget.dart'; +import 'package:OpenContacts/widgets/formatted_text.dart'; +import 'package:OpenContacts/widgets/sessions/session_view.dart'; +import 'package:flutter/material.dart'; +import 'package:provider/provider.dart'; +import 'package:flutter/services.dart'; \ No newline at end of file