QOL: Mzansi Home Scroll

This commit is contained in:
2025-12-01 10:26:17 +02:00
parent 72261af7b9
commit b519b99a91
2 changed files with 2 additions and 9 deletions

View File

@@ -230,7 +230,7 @@ class _MihBusinessHomeState extends State<MihBusinessHome>
),
),
),
const SizedBox(height: 20),
const SizedBox(height: 10),
Expanded(
child: ValueListenableBuilder(
valueListenable: searchPackageName,
@@ -243,10 +243,7 @@ class _MihBusinessHomeState extends State<MihBusinessHome>
.toList();
if (filteredPackages.isNotEmpty) {
return GridView.builder(
physics: const NeverScrollableScrollPhysics(),
shrinkWrap: true,
padding: getPadding(width, height),
// shrinkWrap: true,
itemCount: filteredPackages.length,
gridDelegate: SliverGridDelegateWithMaxCrossAxisExtent(
maxCrossAxisExtent: packageSize,

View File

@@ -250,7 +250,7 @@ class _MihPersonalHomeState extends State<MihPersonalHome>
),
),
),
const SizedBox(height: 20),
const SizedBox(height: 10),
Expanded(
child: ValueListenableBuilder(
valueListenable: searchPackageName,
@@ -263,10 +263,7 @@ class _MihPersonalHomeState extends State<MihPersonalHome>
.toList();
if (filteredPackages.isNotEmpty) {
return GridView.builder(
// physics: const NeverScrollableScrollPhysics(),
// shrinkWrap: true,
padding: getPadding(width, height),
// shrinkWrap: true,
itemCount: filteredPackages.length,
gridDelegate: SliverGridDelegateWithMaxCrossAxisExtent(
maxCrossAxisExtent: packageSize,
@@ -274,7 +271,6 @@ class _MihPersonalHomeState extends State<MihPersonalHome>
),
itemBuilder: (context, index) {
return filteredPackages[index];
// return personalPackages[index];
},
);
} else {