iconBorderColor property

Color iconBorderColor
final

Border color of the icon in the legend items.

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

Defaults to Colors.transparent

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           legend: Legend(
              isVisible: true,
              iconBorderColor: Colors.yellow)
       ));
}

Implementation

final Color iconBorderColor;