SpinWheelLabelAlignment enum

Defines how labels are aligned on the spin wheel.

Inheritance
Available extensions

Values

segment → const SpinWheelLabelAlignment

The label is aligned with the segment and rotates with the wheel.

radial → const SpinWheelLabelAlignment

Labels are positioned radially, but the text itself remains upright. On the left half of the wheel, the text is flipped 180 degrees to remain readable.

curved → const SpinWheelLabelAlignment

Labels are drawn along a curve, following the arc of the segment.

horizontal → const SpinWheelLabelAlignment

Labels are drawn horizontally and do not rotate with the wheel.

tangential → const SpinWheelLabelAlignment

The text is aligned tangentially to the wheel's curve, remaining upright.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<SpinWheelLabelAlignment>
A constant List of the values in this enum, in order of their declaration.