borderColor property

Color borderColor
final

Border color of the series.

Defaults to Colors.transparent.

Widget build(BuildContext context) {
  return SfCircularChart(
    series: <PieSeries<SalesData, String>>[
      PieSeries<SalesData, String>(
        borderColor: Colors.red,
        borderWidth: 2
      ),
    ],
  );
}

Implementation

final Color borderColor;