ScrollingPageIndicator constructor

const ScrollingPageIndicator({
  1. Key? key,
  2. double dotSize = 6.0,
  3. double dotSelectedSize = 10.0,
  4. Color dotColor = Colors.grey,
  5. Color dotSelectedColor = Colors.white,
  6. double dotSpacing = 12.0,
  7. int visibleDotCount = 5,
  8. int visibleDotThreshold = 2,
  9. required int itemCount,
  10. required PageController? controller,
  11. Axis orientation = Axis.horizontal,
})

Implementation

const ScrollingPageIndicator({
  Key? 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,
}) : super(key: key);