enableDragging property

bool enableDragging
final

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>[MarkerPointer(value: 50,
            enableDragging: true)],
           )]
       ));
}

Implementation

final bool enableDragging;