labelFormat property Null safety

String? labelFormat
final

Formats the axis labels.

The labels can be customized by adding the desired text as prefix or suffix.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
          labelFormat: '{value}M'
           )]
       ));
}

Implementation

final String? labelFormat;