flutter_timer_camera
library
Enums
-
CameraLensDirection
-
The direction the camera is facing.
-
ExposureMode
-
The possible exposure modes that can be set for a camera.
-
FlashMode
-
The possible flash modes that can be set for a camera
-
FocusMode
-
The possible focus modes that can be set for a camera.
-
ImageFormatGroup
-
Group of image formats that are comparable across Android and iOS platforms.
-
ResolutionPreset
-
Affect the quality of video recording and image capture:
Functions
-
showTimerCamera({required BuildContext context, required OnCapturedImageCallback onSubmit, bool enableDrag = false, VoidCallback? onCameraAccessDenied, BoxFit? imageFit, Widget? backButtonOnNormal, Widget? backButtonOnCaptured, Widget? switchCameraButton, ButtonStyle? switchCameraButtonStyle, Alignment? captureButtonAlignment, Widget? onNormalButton, Widget? onCountingButton, Widget? onCapturedButton, Alignment? timerOptionAlignment, TimerOptionStyleParamsModel? timerOptionStyleParamsModel, TextStyle? counterTextStyle, List<TimerOption>? timerOptions, double? captureButtonPaddingHeight, double? timerOptionPaddingHeight, Alignment? counterTextAlignment, EdgeInsetsGeometry? actionButtonPadding, int defaultTimerOptionIndex = 0, bool useSafeArea = true, bool isDismissble = true, bool useRootNavigator = false})
→ void
-
Displays a bottom sheet with a camera view for capturing images with timer options.
Exceptions / Errors
-
CameraException
-
This is thrown when the plugin reports an error.