rangeLinearGauge property

List<RangeLinearGauge>? rangeLinearGauge
final

rangeLinearGauge takes the list of RangeLinearGauge to render the ranges in LinearGauge

const LinearGauge(
rangeLinearGauge: [
  RangeLinearGauge(
    start: 0.0,
    end: 50.0,
    color: Colors.green,
    ),
  RangeLinearGauge(
    start: 50.0,
    end: 100.0,
    color: Colors.red,
    ),
  ],
),

Implementation

final List<RangeLinearGauge>? rangeLinearGauge;