borderColor property Null safety

Color? borderColor
final

Border color of the marker.

Defaults to null

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           selectionGesture: ActivationMode.doubleTap,
           series: <SplineSeries<SalesData, num>>[
               SplineSeries<SalesData, num>(
                 markerSettings: MarkerSettings(
                         isVisible: true,
                         borderColor: Colors.red, borderWidth: 3),
               ),
             ],
       ));
}

Implementation

final Color? borderColor;