enableDragging property

  1. @override
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>[NeedlePointer(value: 50,
            enableDragging: true)],
           )]
       ));
}

Implementation

@override
final bool enableDragging;