borderColor property

Color borderColor
final

Color of the plot band border.

Defaults to Colors.transparent.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(
            plotBands: <PlotBand>[
               PlotBand(
                   isVisible:true,
                   borderColor: Colors.red
               )
             ]
          )
       )
   );
}

Implementation

final Color borderColor;