Remove text in carousel
This commit is contained in:
parent
3fc8273d28
commit
05220b2263
1 changed files with 3 additions and 8 deletions
|
@ -41,14 +41,9 @@ class _CarouselState extends State<Carousel> {
|
||||||
),
|
),
|
||||||
padding: EdgeInsets.symmetric(
|
padding: EdgeInsets.symmetric(
|
||||||
vertical: 10.0, horizontal: 20.0),
|
vertical: 10.0, horizontal: 20.0),
|
||||||
child: Text(
|
child: SizedBox(
|
||||||
'No. ${imgList.indexOf(item)} image',
|
width: 1.0,
|
||||||
style: TextStyle(
|
)
|
||||||
color: Colors.white,
|
|
||||||
fontSize: 20.0,
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue