Updating design

This commit is contained in:
Hillel Coren 2020-05-07 15:08:36 +03:00
parent 775e6f3f2c
commit 79c917fe15
1 changed files with 5 additions and 7 deletions

View File

@ -131,14 +131,12 @@ class _EntityListState extends State<EntityList> {
? HelpText(AppLocalization.of(context).noRecordsFound) ? HelpText(AppLocalization.of(context).noRecordsFound)
: Material( : Material(
color: Theme.of(context).cardColor, color: Theme.of(context).cardColor,
child: Padding( child: ListView.separated(
padding: const EdgeInsets.symmetric(vertical: 32), padding: const EdgeInsets.symmetric(vertical: 32),
child: ListView.separated( shrinkWrap: true,
shrinkWrap: true, separatorBuilder: (context, index) => ListDivider(),
separatorBuilder: (context, index) => ListDivider(), itemCount: entityList.length,
itemCount: entityList.length, itemBuilder: widget.itemBuilder,
itemBuilder: widget.itemBuilder,
),
), ),
)), )),
]); ]);