Fix image not responsive in payment page
This commit is contained in:
parent
bf7f7eca48
commit
99bf56f596
1 changed files with 24 additions and 12 deletions
|
@ -38,20 +38,32 @@ class _PaymentBodyState extends State<PaymentBody> {
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
children: [
|
children: [
|
||||||
Image.asset(
|
Flexible(
|
||||||
'assets/images/bca.webp',
|
flex: 1,
|
||||||
cacheHeight: 40,
|
child: Padding(
|
||||||
cacheWidth: 100,
|
padding: const EdgeInsets.only(left: 20, right: 20),
|
||||||
|
child: Image.asset(
|
||||||
|
'assets/images/bca.webp',
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Image.asset(
|
Flexible(
|
||||||
'assets/images/bni.webp',
|
flex: 1,
|
||||||
cacheHeight: 40,
|
child: Padding(
|
||||||
cacheWidth: 100,
|
padding: const EdgeInsets.only(left: 20, right: 20),
|
||||||
|
child: Image.asset(
|
||||||
|
'assets/images/bni.webp',
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Image.asset(
|
Flexible(
|
||||||
'assets/images/bri.webp',
|
flex: 1,
|
||||||
cacheHeight: 40,
|
child: Padding(
|
||||||
cacheWidth: 100,
|
padding: const EdgeInsets.only(left: 20, right: 20),
|
||||||
|
child: Image.asset(
|
||||||
|
'assets/images/bri.webp'
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue