onValueChangeEnd property

  1. @override
ValueChanged<double>? onValueChangeEnd
final

Called when the user is done selecting a new value of the pointer by dragging.

This callback shouldn't be used to update the pointer value (use onValueChanged for that), but rather to know when the user has completed selecting a new value by ending a drag.

Widget build(BuildContext context) {
 return Container(
     child: SfRadialGauge(axes: <RadialAxis>[
   RadialAxis(
     pointers: <GaugePointer>[
       RangePointer(
           value: 50,
           onValueChangeStart: (double newValue) {
             setState(() {
               print('Ended change on $newValue');
             });
           })
     ],
   )
 ]));
}

Implementation

@override
final ValueChanged<double>? onValueChangeEnd;