label property Null safety

String? label
final

Specifies the text for range.

label style is customized by labelStyle.

Defaults to null.

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

Implementation

final String? label;