textStyle property Null safety

GaugeTextStyle textStyle

The style to use for the marker pointer text.

Using GaugeTextStyle to add the style to the pointer text.

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

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
            pointers: <GaugePointer>[MarkerPointer(value: 50,
            text: 'marker', textStyle:
            GaugeTextStyle(fontSize: 20, fontStyle: FontStyle.italic),
            markerType: MarkerType.text


final GaugeTextStyle textStyle;