NUIPageViewIndicator constructor
NUIPageViewIndicator({
- Key? key,
- required NUIBlocData<
int> currentPageNotifier, - required int itemCount,
- ValueChanged<
int> ? onPageSelected, - int? maximumCount,
- int currentPosition = 0,
- double size = _defaultSize,
- double spacing = _defaultSpacing,
- BorderRadius? borderRadius,
- bool isCircle = true,
- Color? color,
- Color? selectedColor,
- 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);