Fix image not responsive in payment page

This commit is contained in:
Moe Poi ~ 2022-05-23 08:53:09 +07:00
parent bf7f7eca48
commit 99bf56f596

View file

@ -38,20 +38,32 @@ class _PaymentBodyState extends State<PaymentBody> {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Image.asset(
'assets/images/bca.webp',
cacheHeight: 40,
cacheWidth: 100,
Flexible(
flex: 1,
child: Padding(
padding: const EdgeInsets.only(left: 20, right: 20),
child: Image.asset(
'assets/images/bca.webp',
),
),
),
Image.asset(
'assets/images/bni.webp',
cacheHeight: 40,
cacheWidth: 100,
Flexible(
flex: 1,
child: Padding(
padding: const EdgeInsets.only(left: 20, right: 20),
child: Image.asset(
'assets/images/bni.webp',
),
),
),
Image.asset(
'assets/images/bri.webp',
cacheHeight: 40,
cacheWidth: 100,
Flexible(
flex: 1,
child: Padding(
padding: const EdgeInsets.only(left: 20, right: 20),
child: Image.asset(
'assets/images/bri.webp'
),
),
),
],
),