imageUrl property Null safety

String? imageUrl
final

Specifies the image Url path for marker pointer.

imageUrl is required when setting MarkerType.image.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
            pointers: <GaugePointer>[MarkerPointer(value: 50,
            imageUrl:'images/pin.png',
            markerType: MarkerShape.image
            )],
           )]
       ));
}

Implementation

final String? imageUrl;