NUIStepperLineIndicator constructor

NUIStepperLineIndicator({
  1. Key? key,
  2. required ValueNotifier<int> currentPageNotifier,
  3. required int itemCount,
  4. ValueChanged<int>? onPageSelected,
  5. double size = _defaultSize,
  6. double spacing = _defaultSpacing,
  7. bool alignTop = false,
  8. bool singleSelection = false,
  9. Color? color,
  10. Color? selectedColor,
  11. 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);