WheelSegment<T> constructor
WheelSegment<T> (})
Creates a new WheelSegment.
Implementation
WheelSegment(
this.label,
this.value, {
Color? color,
this.path,
this.imageProvider,
this.image,
this.child,
this.textStyle,
this.semanticLabel,
this.probability,
}) : color = color ??
Colors.primaries[
Object.hash(label, value).abs() % Colors.primaries.length];