flutter_timer_camera library

Classes

BackButtonWD
BlurBackgroundWD
CameraDescription
Properties of a camera device.
CameraScreenWD
CameraTimerOptionsWD
A widget that displays a segmented control for camera timer options.
CaptureButtonWD
CounterWD
SwitchCameraButtonWD
TimerOption
A class TimerOption used for customized Timer displayed in CameraScreen.
TimerOptionStyleParamsModel
A data class that defines the style parameters for the timer option.
XFile
A CrossFile is a cross-platform, simplified File abstraction.

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.