PageIndicator constructor

PageIndicator({
  1. Key? key,
  2. double size = 20.0,
  3. double space = 5.0,
  4. int count = 0,
  5. double activeSize = 20.0,
  6. PageController? controller,
  7. Color color = Colors.white30,
  8. PageIndicatorLayout layout = PageIndicatorLayout.SLIDE,
  9. Color activeColor = Colors.white,
  10. double scale = 0.6,
  11. double dropHeight = 20.0,
})

Implementation

PageIndicator(
  {Key? key,
    this.size = 20.0,
    this.space = 5.0,
    this.count = 0,
    this.activeSize = 20.0,
    this.controller,
    this.color = Colors.white30,
    this.layout = PageIndicatorLayout.SLIDE,
    this.activeColor = Colors.white,
    this.scale = 0.6,
    this.dropHeight = 20.0})
  : assert(controller != null),
    super(key: key);