horizontalAlignment property

GaugeAlignment horizontalAlignment
final

How the annotation should be aligned horizontally in the respective position.

Defaults to GaugeAlignment.center.

Also refer GaugeAlignment

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis
           annotations: <GaugeAnnotation>[
           GaugeAnnotation(widget: Text('Annotation'),
           horizontalAlignment: GaugeAlignment.near)])]
       ));
}

Implementation

final GaugeAlignment horizontalAlignment;