flutter_simple_carousel 0.0.5
flutter_simple_carousel: ^0.0.5 copied to clipboard
A simple carousel widget for Flutter. Supports horizontal and vertical scrolling, automatic text direction handling, and more.
A simple carousel widget for Flutter.
Features #
- ✅ Page snapping
- ✅ Horizontal and vertical scrolling
- ✅ Automatic text direction handling
- ✅ Varying page sizes
Getting started #
dependencies:
simple_carousel: ^0.0.1
Usage #
import "simple_carousel/simple_carousel.dart";
ConstrainedBox(
constraints: BoxConstraints.tightFor(height: 200),
child: Carousel(
pages: [
CarouselPage.expanded(
child: Container(color: Colors.red),
),
CarouselPage.expanded(
child: Container(color: Colors.blue),
),
CarouselPage.expanded(
child: Container(color: Colors.green),
),
],
),
);
Screen Recording #
https://github.com/user-attachments/assets/18f5ca03-d890-4ca2-b22d-a354066a276b
Additional information #
Contributions are welcome!