0 purchases
adbonnin flutter carousel
adbonnin_flutter_carousel #
A carousel widget for Flutter.
Features #
Infinite scroll
Horizontal or vertical scrolling
Customizable transition
Dart null safety enable
Supported platforms #
Flutter Android
Flutter iOS
Flutter web
Flutter desktop
Live preview #
https://adbonnin.github.io/flutter_carousel
Basic carousel example:
How to use #
Create a Carousel widget with some children :
class BasicExample extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Padding(
padding: EdgeInsets.only(top: 20, bottom: 20),
child: Carousel(
children: [
TextItem(0),
TextItem(1),
TextItem(2),
TextItem(3),
],
),
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.