scrolling_page_indicator_like_instagram
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
)
Comments are closed.