carousel_indicator_simple 1.0.0
carousel_indicator_simple: ^1.0.0 copied to clipboard
A flutter package to add indicator above the carousels in Stacks widgets.
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.