1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Veggieseasons - Fix feed scroll behind status bar (#337)

This commit is contained in:
Manasvi Patidar
2020-03-02 23:38:50 +05:30
committed by GitHub
parent c6f6b5b757
commit 738b0d9958

View File

@@ -39,6 +39,8 @@ class ListScreen extends StatelessWidget {
return DecoratedBox( return DecoratedBox(
decoration: BoxDecoration(color: Color(0xffffffff)), decoration: BoxDecoration(color: Color(0xffffffff)),
child: SafeArea(
bottom: false,
child: ListView.builder( child: ListView.builder(
itemCount: appState.allVeggies.length + 2, itemCount: appState.allVeggies.length + 2,
itemBuilder: (context, index) { itemBuilder: (context, index) {
@@ -72,6 +74,7 @@ class ListScreen extends StatelessWidget {
} }
}, },
), ),
),
); );
}, },
); );