changed appearance of lists
All checks were successful
Flutter APK Build / Build Flutter APK (pull_request) Successful in 6m44s
All checks were successful
Flutter APK Build / Build Flutter APK (pull_request) Successful in 6m44s
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user