SegmentData class

Represents data for a single segment in a radial performance chart.

Constructors

SegmentData.new({required double percentage, required Color color, String? label})
Creates a SegmentData instance with the specified properties.

Properties

color Color
The color of the segment.
final
hashCode int
The hash code for this object.
no setterinherited
label String?
An optional label to display when the segment is selected.
final
percentage double
The percentage value of the segment, determining its thickness.
final
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