Set entity list as primary scroll for the screen

This commit is contained in:
Hillel Coren 2023-01-09 16:39:07 +02:00
parent 0a6c8ffc62
commit 5529f2182f
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ class _EntityListState extends State<EntityList> {
child: entityList.isEmpty child: entityList.isEmpty
? HelpText(AppLocalization.of(context).clickPlusToAddItem) ? HelpText(AppLocalization.of(context).clickPlusToAddItem)
: ScrollableListViewBuilder( : ScrollableListViewBuilder(
primary: true,
padding: const EdgeInsets.symmetric(vertical: 20), padding: const EdgeInsets.symmetric(vertical: 20),
separatorBuilder: (context, index) => separatorBuilder: (context, index) =>
(index == 0 || index == entityList.length) (index == 0 || index == entityList.length)