borderWidth property Null safety

double borderWidth
final

Width of the chart border.

Defaults to 0.

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

Implementation

final double borderWidth;