flutter_page_indicator 0.0.2
flutter_page_indicator: ^0.0.2 copied to clipboard
Page indicator for flutter, with multiple build-in layouts.
flutter_page_indicator #
Page indicator for flutter, with multiple build-in layouts.
Show cases #
Installation #
Add
flutter_page_indicator:
to your pubspec.yaml ,and run
flutter packages get
in your project's root directory.
Basic Usage #
new PageIndicator(
layout: PageIndicatorLayout.slide,
size: 20.0,
controller: YOUR_PAGE_CONTROLLER,
space: 5.0,
count: 4,
)
All build-in layouts #
Layout | Showcase | Support version |
---|---|---|
PageIndicatorLayout.none | ![]() |
From 0.0.1 |
PageIndicatorLayout.slide | ![]() |
From 0.0.1 |
PageIndicatorLayout.warm | ![]() |
From 0.0.1 |
PageIndicatorLayout.color | ![]() |
From 0.0.1 |
PageIndicatorLayout.scale | ![]() |
From 0.0.1 |
PageIndicatorLayout.drop | ![]() |
From 0.0.1 |