isVisible property Null safety

bool isVisible
final

Toggles the visibility of the plot band.

Defaults to true.

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

Implementation

final bool isVisible;