Package selection guidance compiled from public package information, community data, and project usage.
flutter_swiper_view is a high-performance carousel widget for Flutter, offering multiple layout options and infinite looping. Designed for smooth, responsive swiping experiences on Android, iOS, Web, macOS, Windows, and Linux, it supports both horizontal and vertical scrolling with customizable animations. Ideal for image galleries, product showcases, and interactive content sliders, it provides a flexible foundation for dynamic UIs. The package is actively maintained and compatible across all major platforms.
Use cases
Image galleries
Product carousels
Onboarding screens
Interactive content sliders
Slide-based navigation
Key features
Multiple layout types
Infinite loop support
Cross-platform compatibility
Customizable animations
Smooth swipe gestures
Responsive design
Suitable for
Developers building interactive UIs
Apps needing visual content carousels
Multi-platform mobile and desktop apps
Onboarding experiences
E-commerce product displays
Considerations
May require performance tuning for large datasets
Limited built-in pagination controls
Custom styling needed for advanced designs
Not optimized for very high-frequency updates
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
The best swiper for flutter , with multiple layouts, infinite loop. Compatible with Android & iOS.
:sparkles::sparkles: New Features:PageTransformer
Finally, we have PageTransformer like android, just set a transformer to Swiper,
it returns a widget that has been transformed. For now, only support for layout DEFAULT.
Thanks to @FlutterRocks ,you've done great job 👏.
The control also extends from SwiperPlugin,set SwiperControl() to show default control buttons.
Parameter
Default
Description
iconPrevious
Icons.arrow_back_ios
The icon data to display previous control button
iconNext
Icons.arrow_forward_ios
The icon data to display next.
color
Theme.of(context).primaryColor
Control button color
size
30.0
Control button size
padding
const EdgeInsets.all(5.0)
Control button padding
Controller
The Controller is used to control the index of the Swiper, start or stop autoplay.You can create a controller by SwiperController() and save the instance by futher usage.
Method
Description
void move(int index, {bool animation: true})
Move to the spicified index,with animation or not
void next({bool animation: true})
Move to next
void previous({bool animation: true})
Move to previous
void startAutoplay()
Start autoplay
void stopAutoplay()
Stop autoplay
Autoplay
Parameter
Default
Description
autoplayDelay
3000
Autoplay delay milliseconds.
autoplayDisableOnInteraction
true
If set true, autoplay is disabled when use swipes.
The CustomLayoutOption is designed to describe animations.
It is very easy to specify every state of items in Swiper.
CustomLayoutOption(
startIndex: -1, /// Which index is the first item of array below
stateCount: 3/// array length
)..addRotate([ // rotation of every item
-45.0/180,
0.0,
45.0/180
])..addTranslate([ /// offset of every itemconstOffset(-370.0, -40.0),
constOffset(0.0, 0.0),
constOffset(370.0, -40.0)
])