carousel_indicator: ^1.0.2 copied to clipboard
A Minimal and Simple carousel indicator library which take index as an argument and update indicator index. This library had pre-built slide animation.
Use this package as a library
Depend on it
Run this command:
$ flutter pub add carousel_indicator
This will add a line like this to your package's pubspec.yaml (and run an implicit
dart pub get):
dependencies: carousel_indicator: ^1.0.2
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use: