🐛 Fix scroll of grid view on mobile

This commit is contained in:
2024-02-25 19:48:31 +01:00
parent 4a6155769c
commit 9252b0eef7

View File

@ -26,6 +26,7 @@ class _MixingTabState extends State<MixingTab> {
const SizedBox(height: 10), const SizedBox(height: 10),
GridView.count( GridView.count(
shrinkWrap: true, shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
childAspectRatio: childAspectRatio:
(screenWidth - 32 - (10 * (cols - 1))) / cardHeight / cols, (screenWidth - 32 - (10 * (cols - 1))) / cardHeight / cols,
crossAxisCount: cols, crossAxisCount: cols,