carousel_slider_x
7.0.1, released 2 months ago by koji-1009.com
A Flutter carousel slider widget with infinite scroll, autoplay and enlarge mode.
What it does
Provides a CarouselSlider widget that can scroll infinitely, autoplay slides, and enlarge the center page. It supports drag gestures from all pointer device kinds and offers simple configuration via CarouselOptions.
AI-written summary of version 7.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a simple carousel/slider for images or content lists
- You want built‑in infinite scrolling and autoplay without extra packages
Skip it when
- You require highly custom animations or fine‑grained playback control
- You need features that were removed (e.g., pause on touch, separate controller start/stop)
Strengths
- Easy to add and configure
- Supports infinite scroll, autoplay, and center‑page enlargement
- Works across all Flutter platforms
Weaknesses
- Limited customization compared to more feature‑rich carousel libraries
- Removed some control APIs may limit advanced use cases
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
CarouselSlider(
options: const CarouselOptions(height: 400),
items: [1,2,3,4,5].map((i) => Container(
width: MediaQuery.sizeOf(context).width,
margin: const EdgeInsets.symmetric(horizontal: 8.0),
decoration: const BoxDecoration(color: Colors.amber),
child: Text('text $i', style: const TextStyle(fontSize: 16)),
)).toList(),
)Alternatives
Packages that do the same job and could replace carousel_slider_x.
- carousel_slider
Carousel slider widget with infinite scroll, auto play, and custom child support
73Compare - carousel_slider_plus
A customizable carousel slider widget with infinite scroll and autoplay support.
72Compare - flutter_carousel_widget
A Flutter carousel with ten composable effects, autoplay, indicators, and accessibility.
86Compare - indexed_list_view
Infinite ListView that lets you programmatically jump instantly to any item by index.
82Compare