borderColor property Null safety

Color? borderColor
final

Border color of the marker.

Defaults to null.

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

Implementation

final Color? borderColor;