onAxisTapped property
Callback, which is triggered by tapping an axis.
RadialAxis returns the tapped axis value to the callback.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis(
onAxisTapped: (double value) {
print('Axis tapped on $value');
})]
));
}
Implementation
final ValueChanged<double>? onAxisTapped;