text property

String? text
final

Text to be displayed in the plot band segment.

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

Implementation

final String? text;