flexible_carousel_slider is an open source project — it provides an easy way of implementing a carousel slider with an adjusts in size depending on the size of the focused widget.
Use this package as a library by depending on it
Run this command:
- With Flutter:
flutter pub add flexible_carousel_slider
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies: flexible_carousel_slider: ^0.0.1
Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it like so:
Check the example provided for how to use this package.
Dart & Flutter Version
- Dart 2: >= 2.14
- Flutter: >=2.0.0