enableDragging property
Whether to allow the pointer dragging.
It provides an option to drag a pointer from one value to another. It is used to change the value at run time.
Defaults to false
.
Widget build(BuildContext context) {
return Container(
child: SfRadialGauge(
axes:<RadialAxis>[RadialAxis(
pointers: <GaugePointer>[WidgetPointer(value: 50,
enableDragging: true)],
)]
));
}
Implementation
@override
final bool enableDragging;