borderColor property

Color borderColor
final

Border color of the legend.

Defaults to Colors.transparent

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

Implementation

final Color borderColor