labelStyle property Null safety

GaugeTextStyle labelStyle
final

The style to use for the range label text.

Using GaugeTextStyle to add the style to the axis labels.

Defaults to the GaugeTextStyle property with font size 12.0 and font family Segoe UI.

Also refer GaugeTextStyle.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
         ranges: <GaugeRange>[GaugeRange(startValue: 50,
         endValue: 100, label: 'High',
         labelStyle: GaugeTextStyle(fontSize: 20)
         )],
           )]
       ));
}

Implementation

final GaugeTextStyle labelStyle;