WheelSegment constructor
WheelSegment(})
Creates a new WheelSegment.
Implementation
WheelSegment(
this.label,
this.value, {
Color? color,
this.path,
this.image,
this.probability,
}) : color = color ??
Colors.primaries[Random().nextInt(Colors.primaries.length)];