From 05220b22634e101a07a20842f097e881f3f76fb1 Mon Sep 17 00:00:00 2001 From: Moe Date: Sun, 15 May 2022 22:27:19 +0700 Subject: [PATCH] Remove text in carousel --- lib/components/carousel.dart | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/components/carousel.dart b/lib/components/carousel.dart index 9a4db11..4149693 100644 --- a/lib/components/carousel.dart +++ b/lib/components/carousel.dart @@ -41,14 +41,9 @@ class _CarouselState extends State { ), padding: EdgeInsets.symmetric( vertical: 10.0, horizontal: 20.0), - child: Text( - 'No. ${imgList.indexOf(item)} image', - style: TextStyle( - color: Colors.white, - fontSize: 20.0, - fontWeight: FontWeight.bold, - ), - ), + child: SizedBox( + width: 1.0, + ) ), ), ],