borderWidth property Null safety

double borderWidth
final

Border width of the legend.

Used to change the stroke width of the legend shape.

Defaults to 0.0

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           legend: Legend(
              isVisible: true,
              borderWidth: 3)
       ));
}

Implementation

final double borderWidth;