markerType property Null safety

MarkerType markerType
final

Specifies the built-in shape type for pointer.

When use MarkerType.text, text value must be set along with textStyle to apply style for text.

When use MarkerType.image, imageUrl must be set.

To customize the marker size use markerHeight and markerWidth properties.

Defaults to MarkerType.invertedTriangle.

Also refer MarkerType.invertedTriangle.

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

Implementation

final MarkerType markerType;