fix card list cutoff
This commit is contained in:
parent
96c1604c55
commit
f8a523ec88
2 changed files with 26 additions and 28 deletions
|
|
@ -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),
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue