fix card list cutoff

This commit is contained in:
2025-03-10 13:25:23 +02:00
parent 96c1604c55
commit f8a523ec88
2 changed files with 26 additions and 28 deletions

View File

@@ -76,6 +76,7 @@ class _MihAppToolBodyState extends State<MihAppToolBody> {
top: 0,
),
child: Container(
height: screenSize.height,
decoration: getBoader(),
child: Padding(
padding: EdgeInsets.all(_innerBodyPadding),

View File

@@ -143,9 +143,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
// final double width = size.width;
//final double height = size.height;
if (widget.cardList.isNotEmpty) {
return SizedBox(
height: size.height,
child: GridView.builder(
return GridView.builder(
physics: const NeverScrollableScrollPhysics(),
shrinkWrap: true,
padding: EdgeInsets.only(
@@ -171,7 +169,6 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
},
);
},
),
);
// return ListView.separated(
// shrinkWrap: true,