NUIPageViewIndicator constructor

NUIPageViewIndicator({
  1. Key? key,
  2. required NUIBlocData<int> currentPageNotifier,
  3. required int itemCount,
  4. ValueChanged<int>? onPageSelected,
  5. int? maximumCount,
  6. int currentPosition = 0,
  7. double size = _defaultSize,
  8. double spacing = _defaultSpacing,
  9. BorderRadius? borderRadius,
  10. bool isCircle = true,
  11. Color? color,
  12. Color? selectedColor,
  13. double selectedSize = _defaultSelectedSize,
})

Implementation

NUIPageViewIndicator({
  Key? key,
  required this.currentPageNotifier,
  required this.itemCount,
  this.onPageSelected,
  this.maximumCount,
  this.currentPosition = 0,
  this.size = _defaultSize,
  this.spacing = _defaultSpacing,
  this.borderRadius,
  this.isCircle = true,
  Color? color,
  Color? selectedColor,
  this.selectedSize = _defaultSelectedSize,
})  : this.indicatorColor = color ??
    ((selectedColor?.withAlpha(150)) ?? _defaultIndicatorColor),
      this.selectedIndicatorColor = selectedColor ?? _defaultSelectedIndicatorColor,
      super(key: key);