onChangeEnd property
Signature for a callback that reports the value changes are ended for a marker pointer.
This snippet shows how to call onChangeEnd function in SfLinearGauge.
SfLinearGauge(
markerPointers: [
LinearWidgetPointer(
value: _pointerValue,
child: Container(
height: 20,
width: 20,
color: Colors.red),
onChangeEnd: (double endValue) {
print('End value $endValue');
},
)])
Implementation
@override
final ValueChanged<double>? onChangeEnd;