NUIStepperLineIndicator constructor
NUIStepperLineIndicator({
- Key? key,
- required ValueNotifier<
int> currentPageNotifier, - required int itemCount,
- ValueChanged<
int> ? onPageSelected, - double size = _defaultSize,
- double spacing = _defaultSpacing,
- bool alignTop = false,
- bool singleSelection = false,
- Color? color,
- Color? selectedColor,
- double selectedSize = _defaultSelectedSize,
Implementation
NUIStepperLineIndicator({
Key? key,
required this.currentPageNotifier,
required this.itemCount,
this.onPageSelected,
this.size = _defaultSize,
this.spacing = _defaultSpacing,
this.alignTop = false,
this.singleSelection = false,
Color? color,
Color? selectedColor,
this.selectedSize = _defaultSelectedSize,
}) : this.indicatorColor = color ??
((selectedColor?.withAlpha(150)) ?? _defaultIndicatorColor),
this.selectedIndicatorColor = selectedColor ?? _defaultSelectedIndicatorColor,
super(key: key);