widget property
Specifies the annotation widget.
Applied widget added over a gauge with respect to angle or axisValue.
Defaults to null
.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis
annotations: <GaugeAnnotation>[
GaugeAnnotation(widget: Text('Annotation'))])]
));
}
Implementation
final Widget widget;