I'm new to flutter and I'm very adventurous when it comes to discovering its hidden potential. I've tried a number of ways to implement what I want and I can't find the most effective way.
First, for example, I have a List<String> imagePath = ["assets/img1.jpg","assets/img2.jpg","assets/img3.jpg","assets/img4.jpg"];
I know that the Carousel Widget uses "image
" parameter which accepts a list of "Image Widgets
".
I know the easiest way to show this List<String> imagePath
is to just simply use Listview.builder
. But I want to utilize the feature of the Carousel
wherein you can modify the transition animation and the most important part is the dot indicator.
SO if you guys have any ideas on how can I put my List inside the Carousel widget, That would be a great help!
I would appreciate any solutions!