positionFactor property

double positionFactor
final

Specifies the position of annotation in radius factor.

positionFactor value of 0 is starting from the center and 1 is ending at the edge of the radius.

positionFactor must be between 0 to 1.

Defaults to 0.

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

Implementation

final double positionFactor;