changed appearance of lists
All checks were successful
Flutter APK Build / Build Flutter APK (pull_request) Successful in 6m44s

This commit is contained in:
2026-01-21 15:04:24 +01:00
parent be6020d6c5
commit c80606b7d0
5 changed files with 43 additions and 17 deletions

View File

@@ -110,12 +110,18 @@ class _CollectionsListPageState extends State<CollectionsListPage> {
child: Icon(Icons.add),
),
body: collections.isNotEmpty
? ListView.builder(
itemBuilder: (context, index) => collectionsListItemBuilder(
context,
collections.elementAt(index),
? Center(
child: SizedBox(
width: MediaQuery.of(context).size.width * 0.9,
child: ListView.separated(
itemBuilder: (context, index) => collectionsListItemBuilder(
context,
collections.elementAt(index),
),
itemCount: collections.length,
separatorBuilder: (context, index) => SizedBox(height: 10),
),
),
itemCount: collections.length,
)
: Center(
child: Text(AppLocalizations.of(context)!.tipCreateCollections),