borderColor property Null safety

Color? borderColor
final

Specifies the border color for marker.

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

Defaults to null.

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

Implementation

final Color? borderColor;