iconBorderWidth property Null safety

double iconBorderWidth
final

Border width of the icon in the legend items.

Used to change the stroke width of the legend icon shape.

Defaults to 0.0

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

Implementation

final double iconBorderWidth;