8000 GitHub - adbonnin/flutter_carousel
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

adbonnin/flutter_carousel

Repository files navigation

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:

simple

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),
        ],
      ),
    );
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0