ranges property

List<GaugeRange>? ranges
final

Add a list of gauge range to the radial gauge and customize each range by adding it to the ranges collection.

Also refer GaugeRange

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
         ranges: <GaugeRange>[GaugeRange(startValue: 50,
         endValue: 100)],
           )]
       ));
}

Implementation

final List<GaugeRange>? ranges;