verticalTextAlignment property

TextAnchor verticalTextAlignment
final

Vertical text alignment of the plot band text

Defaults to TextAnchor.middle

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

Implementation

final TextAnchor verticalTextAlignment;