borderDrawMode property

BorderDrawMode borderDrawMode
final

Border type of area series.

It has three types of BorderDrawMode,

Defaults to BorderDrawMode.top.

Also refer BorderDrawMode.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <AreaSeries<SalesData, num>>[
      AreaSeries<SalesData, num>(
        borderWidth: 3,
        borderColor: Colors.red,
        borderDrawMode: BorderDrawMode.all,
      ),
    ],
  );
}

Implementation

final BorderDrawMode borderDrawMode;