A flutter package to add indicator above the carousels in Stacks widgets.
Features
You can change color of active indicator and inactive indicators.
Getting started
Add the dependency in the pubspec.yaml
ScreenShots
Usage
Pass the itemsCount
and activeIndex
to CarouselIndicatorSimple widget.
MaterialApp(
home: Scaffold(
body: CarouselIndicatorSimple(
itemsCount: 5,
activeIndex: 2,
),
),
),
Additional information
Any improvments are welcome.