PageIndicatorWidget constructor
const
PageIndicatorWidget({
- Key? key,
- required int currentIndex,
- required int pageCount,
- Color color = RoomColors.grey,
- Color activeColor = Colors.white,
- double indicatorSize = 6,
- EdgeInsetsGeometry indicatorPadding = const EdgeInsets.symmetric(horizontal: 4),
- IndicatorShape shape = IndicatorShape.circle,
- IndicatorAlign align = IndicatorAlign.bottom,
- double spacing = 4,
Implementation
const PageIndicatorWidget({
Key? key,
required this.currentIndex,
required this.pageCount,
this.color = RoomColors.grey,
this.activeColor = Colors.white,
this.indicatorSize = 6,
this.indicatorPadding = const EdgeInsets.symmetric(horizontal: 4),
this.shape = IndicatorShape.circle,
this.align = IndicatorAlign.bottom,
this.spacing = 4,
}) : super(key: key);