borderColor property Null safety

Color borderColor
final

Border color of the chart title.

Defaults to Colors.transparent.

Widget build(BuildContext context) {
  return SfCartesianChart(
    title: ChartTitle(
      text: 'Chart Title',
      borderColor: Colors.red,
      borderWidth: 4
    )
  );
}

Implementation

final Color borderColor;