PageIndicator like Instagram written for Flutter
scrolling_page_indicator
View page indicator like Instagram.
Getting Started
- Dependency
dependencies:
scrolling_page_indicator: ^0.1.2
- Install
flutter packages get
- Import
import 'package:scrolling_page_indicator/scrolling_page_indicator.dart';
- Use
ScrollingPageIndicator(
dotColor: Colors.grey,
dotSelectedColor: Colors.deepPurple,
dotSize: 6,
dotSelectedSize: 8,
dotSpacing: 12,
controller: _controller,
itemCount: items.length,
orientation: Axis.horizontal
)
GitHub
https://github.com/NikitaZhelonkin/FlutterScrollingPageIndicator