size property

dynamic size
final

Size of the plot band.

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

Implementation

final dynamic size;