We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The official CameraPickerState does not stop the timer when a file is created using the camera before the timer ends.
Future<void> stopRecordingVideo() async { if (isControllerBusy) { return; } recordStopwatch.stop(); if (innerController == null || !controller.value.isRecordingVideo) { recordCountdownTimer?.cancel(); safeSetState(() { isControllerBusy = false; isShootingButtonAnimate = false; }); return; } safeSetState(() { isControllerBusy = true; lastShootingButtonPressedPosition = null; }); try { // should stop the timer here final XFile file = await controller.stopVideoRecording();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The official CameraPickerState does not stop the timer when a file is created using the camera before the timer ends.
The text was updated successfully, but these errors were encountered: