From e799c2783bd329606b59e0a8461812a8e61241fe Mon Sep 17 00:00:00 2001 From: Kelvin Samuel Date: Sun, 15 May 2022 22:15:04 +0700 Subject: [PATCH] Resize image banner on home screen --- lib/components/bannerimage.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/components/bannerimage.dart b/lib/components/bannerimage.dart index 53c0198..49d31c5 100644 --- a/lib/components/bannerimage.dart +++ b/lib/components/bannerimage.dart @@ -8,11 +8,12 @@ class Bannerimage extends StatelessWidget { @override Widget build(BuildContext context) { return Container( - padding: EdgeInsets.all(20.0), + padding: EdgeInsets.all(0.0), child: new Image.asset( 'assets/Carousel_1.webp', - width: 100.0, + width: 600.0, height: 200.0, + fit: BoxFit.fill, )); } }