flutter_image_carousel_slider 2.0.1 flutter_image_carousel_slider: ^2.0.1 copied to clipboard
Flutter image carousel slider for smooth slide.A carousel slider in Flutter is a UI widget used to display a series of items horizontally in a scrolling manner.
Flutter image carousel slider
Features #
Fast flutter image carousel slider and smooth slides
Getting started #
A carousel slider in Flutter is a UI widget used to display a series of items horizontally in a scrolling manner, typically with one item visible at a time. It allows users to swipe or scroll through the items, providing a visually appealing and interactive way to navigate content. Image carousels, commonly referred to as sliders, are interactive elements on web pages that showcase multiple images or content pieces in a rotating sequence. Originating as simple photo sliders, their evolution has been influenced significantly by advancements in web technology.
to use this package import the latest package and directly pass the images path like this-->
ImageCarouselSlider(items: imageList),
To show images in gallery view just use like this
InkWell(
onTap: () {
Navigator.of(context)
.push(MaterialPageRoute(
builder: (context) {
return ImageListView(
imageList: imageList,
);
}));
},
child:
ImageCarouselSlider(
items: imageList,
imageHeight: 300,
dotColor: Colors.black,
),
),
/// To show image carousel left right viewportFraction InkWell( onTap: () { Navigator.of(context) .push(MaterialPageRoute(builder: (context) { return ImageListView( imageList: imageList, ); })); },
///user can add image height and dots color
child: ImageCarouselSliderLeftRightShow(
items: imageList,
imageHeight: 300,
dotColor: Colors.black,
),
),
for Asset image AssetImageCarouselSliderLeftRightShow( items: imageList, imageHeight: 300, dotColor: Colors.black, ),
AssetImageCarouselSlider(
items: imageList,
imageHeight: 300,
dotColor: Colors.black,
),
Any help or suggestion contact me naveensheoran1000@gmail.com or telegram @NaveenSheoran777