Page indicator for flutter, with multiple build-in layouts.
NOTE:This project is forked from flutter_page_indicator, because the author doesn't maintain any more.
Add
flutter_page_indicators:
to your pubspec.yaml ,and run
flutter packages get
in your project's root directory.
new PageIndicator(
layout: PageIndicatorLayout.SLIDE,
size: 20.0,
controller: YOUR_PAGE_CONTROLLER,
space: 5.0,
count: 4,
)