PageIndicator constructor

PageIndicator(
  1. {Key key,
  2. int length,
  3. PageController pageController,
  4. Color normalColor: Colors.white,
  5. double normalWidth: 8,
  6. double normalHeight: 8,
  7. Decoration normalDecoration,
  8. Color currentColor: Colors.grey,
  9. double currentWidth: 8,
  10. double currentHeight: 8,
  11. Decoration currentDecoration,
  12. double padding: 8}
)

Implementation

PageIndicator({
  Key key,
  this.length,
  this.pageController,
  this.normalColor = Colors.white,
  this.normalWidth = 8,
  this.normalHeight = 8,
  this.normalDecoration,
  this.currentColor = Colors.grey,
  this.currentWidth = 8,
  this.currentHeight = 8,
  this.currentDecoration,
  this.padding = 8,
}): assert(length != null), assert(pageController != null), super(key:key);