RangeLinearGauge class

A RangeLinearGauge represents range values to be displayed on a linear gauge.

const LinearGauge(
 rangeLinearGauge: [
  RangeLinearGauge(color: Colors.red, start: 0, end: 25),
 RangeLinearGauge(color: Colors.yellow, start: 25, end: 50),
RangeLinearGauge(color: Colors.red, start: 51, end: 100)
 ],
)

Constructors

RangeLinearGauge({required Color color, required double start, required double end, double? borderRadius, LinearEdgeStyle edgeStyle = LinearEdgeStyle.bothCurve})

Properties

borderRadius double?
borderRadius Sets the border radius of the range bar
final
color Color
color Sets the color of the range
final
edgeStyle LinearEdgeStyle
edgeStyle Sets the style of the edges of the range bar
final
end double
end Sets the end value of the range
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start double
start Sets the start value of the range
final

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