borderColor property

Color borderColor
final

Border color of the chart title.

Defaults to Colors.transparent.

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

Implementation

final Color borderColor;