iconBorderColor property

Color iconBorderColor
final

Border color of the icon in the legend items.

Defaults to Colors.transparent

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

Implementation

final Color iconBorderColor