segments property

List<GaugeSegment>? segments
final

Supply the list of segments in the Gauge.

If nothing is supplied, the gauge will have one segment with a segment size of (Max Value - Min Value) painted in defaultSegmentColor

Each segment is represented by a GaugeSegment object that has a name, segment size and color

Implementation

final List<GaugeSegment>? segments;