text property

String? text
final

Specifies the text for marker pointer.

text is required when setting MarkerType.text.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
            pointers: <GaugePointer>[MarkerPointer(value: 50,
            text: 'marker',
            markerType: MarkerShape.text
            )],
           )]
       ));
}

Implementation

final String? text;