Use GridView.extent instead

This commit is contained in:
Oliver committed 2021-09-27 22:43:18 +10:00
1 parent 11c8a55677
commit 7d80b4f151
2 files changed
+3 -3

No files matched your search

Submodule lib/l10n updated: 3c7806d038...bec61c2c8f.
+2 -2
View File
@@ -228,8 +228,8 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
],
),
drawer: new InvenTreeDrawer(context),
body: GridView.count(
crossAxisCount: MediaQuery.of(context).orientation == Orientation.portrait ? 3 : 5,
body: GridView.extent(
maxCrossAxisExtent: 150,
shrinkWrap: true,
physics: ClampingScrollPhysics(),
children: [