borderColor property Null safety

Color borderColor
final

Color of the chart border.

Defaults to Colors.transparent.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           borderColor: Colors.red
       ));
}

Implementation

final Color borderColor;