borderWidth property Null safety

double borderWidth
final

Width of the plot band border.

Defaults to 0.

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

Implementation

final double borderWidth;