ScrollingPageIndicator constructor
const
ScrollingPageIndicator({
- Key? key,
- double dotSize = 6.0,
- double dotSelectedSize = 10.0,
- Color dotColor = Colors.grey,
- Color dotSelectedColor = Colors.white,
- double dotSpacing = 12.0,
- int visibleDotCount = 5,
- int visibleDotThreshold = 2,
- required int itemCount,
- required PageController? controller,
- Axis orientation = Axis.horizontal,
Implementation
const ScrollingPageIndicator({
super.key,
this.dotSize = 6.0,
this.dotSelectedSize = 10.0,
this.dotColor = Colors.grey,
this.dotSelectedColor = Colors.white,
this.dotSpacing = 12.0,
this.visibleDotCount = 5,
this.visibleDotThreshold = 2,
required this.itemCount,
required this.controller,
this.orientation = Axis.horizontal,
});