angle property

double? angle
final

Specifies the angle for positioning the annotation

The direction of placing annotation is determined by the angle, if the axisValue is not specified. The distance is calculated by positionFactor. The annotation is positioned on the basis of the calculated direction and distance.

Defaults to null.

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

Implementation

final double? angle;