recordDetectionCancel method
Implementation
void recordDetectionCancel(PointerUpEvent event) {
_recordDetectTimer?.cancel();
if (isShootingButtonAnimate) {
safeSetState(() {
isShootingButtonAnimate = false;
});
}
if (controller.value.isRecordingVideo) {
_lastShootingButtonPressedPosition = null;
safeSetState(() {});
stopRecordingVideo();
}
}