endInteraction method
void
endInteraction()
Gesture-end hook (all pointers up): spring back to coverage and schedule the grid fade-out + backdrop return.
Implementation
void endInteraction() {
settleToCoverage().unawaited();
_gridFadeTimer?.cancel();
_gridFadeTimer = Timer(_confirmCountdown, () {
if (disposed) return;
_gridAnimator.animate(target: 0, duration: _gridFade).unawaited();
_showBackdrop();
if (cropChangedSinceConfirm) {
cropChangedSinceConfirm = false;
_constrainCropForConfirm();
notifyListeners();
confirmTick.value++;
}
});
}