onCameraCaptureStateChanged property
Future<void> Function(T controller, MediaCaptureState? oldState, MediaCaptureState? newState)?
onCameraCaptureStateChanged
final
Event fired when a change in the camera capture state occurred.
NOTE for iOS: available only on iOS 15.0+.
NOTE for MacOS: available only on MacOS 12.0+.
Officially Supported Platforms/Implementations:
- iOS
- MacOS
Implementation
final Future<void> Function(
T controller,
MediaCaptureState? oldState,
MediaCaptureState? newState,
)? onCameraCaptureStateChanged;