borderWidth property Null safety

double borderWidth
final

Specifies the border width for marker.

borderWidth is applicable for MarkerType.circle, MarkerType.diamond, MarkerType.invertedTriangle, MarkerType.triangle and MarkerType.rectangle.

Defaults to 0

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
            pointers: <GaugePointer>[MarkerPointer(value: 50,
            borderColor: Colors.red, borderWidth : 2)],
           )]
       ));
}

Implementation

final double borderWidth;