SpinnerWheel constructor
const
SpinnerWheel({
- Key? key,
- required SpinnerController controller,
- required List<
WheelSegment> segments, - required dynamic onComplete(),
- Color? wheelColor,
- Color? indicatorColor,
- Widget? centerChild,
- Widget? indicator,
- double? imageHeight,
- double? imageWidth,
- WheelLabelStyle? labelStyle,
- Widget? background,
- bool shouldDrawBackground = true,
- EdgeInsets slicePadding = EdgeInsets.zero,
Creates a SpinnerWheel.
Implementation
const SpinnerWheel({
super.key,
required this.controller,
required this.segments,
required this.onComplete,
this.wheelColor,
this.indicatorColor,
this.centerChild,
this.indicator,
this.imageHeight,
this.imageWidth,
this.labelStyle,
this.background,
this.shouldDrawBackground = true,
this.slicePadding = EdgeInsets.zero,
});