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,15 +131,13 @@ 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(
padding: const EdgeInsets.symmetric(vertical: 32),
child: ListView.separated( child: ListView.separated(
padding: const EdgeInsets.symmetric(vertical: 32),
shrinkWrap: true, shrinkWrap: true,
separatorBuilder: (context, index) => ListDivider(), separatorBuilder: (context, index) => ListDivider(),
itemCount: entityList.length, itemCount: entityList.length,
itemBuilder: widget.itemBuilder, itemBuilder: widget.itemBuilder,
), ),
),
)), )),
]); ]);
} else { } else {