Resize image banner on home screen

This commit is contained in:
Kelvin Samuel 2022-05-15 22:15:04 +07:00
parent f767280567
commit e799c2783b

View file

@ -8,11 +8,12 @@ class Bannerimage extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
padding: EdgeInsets.all(20.0), padding: EdgeInsets.all(0.0),
child: new Image.asset( child: new Image.asset(
'assets/Carousel_1.webp', 'assets/Carousel_1.webp',
width: 100.0, width: 600.0,
height: 200.0, height: 200.0,
fit: BoxFit.fill,
)); ));
} }
} }