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, top: 0,
), ),
child: Container( child: Container(
height: screenSize.height,
decoration: getBoader(), decoration: getBoader(),
child: Padding( child: Padding(
padding: EdgeInsets.all(_innerBodyPadding), padding: EdgeInsets.all(_innerBodyPadding),

View File

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