iconBorderWidth property

double iconBorderWidth
final

Border width of the icon in the legend items.

Defaults to 0

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

Implementation

final double iconBorderWidth