alignment property Null safety

GaugeAlignment alignment

How the title text should be aligned horizontally.

The alignment is applicable when the width of the gauge title is less than the width of the gauge.

GaugeAlignment.near places the title at the beginning of gauge whereas the moves the gauge title to the center of gauge and the GaugeAlignment.far places the gauge title at the end of the gauge.

Defaults to

Also refer GaugeAlignment

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
           title: GaugeTitle(
                   text: 'Gauge Title',
                   alignment: GaugeAlignment.far


final GaugeAlignment alignment;