flutter_simple_carousel 0.0.2 copy "flutter_simple_carousel: ^0.0.2" to clipboard
flutter_simple_carousel: ^0.0.2 copied to clipboard

A simple carousel widget for Flutter.

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!

3
likes
0
points
153
downloads

Publisher

unverified uploader

Weekly Downloads

A simple carousel widget for Flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter

More

Packages that depend on flutter_simple_carousel