camera_frame library

Classes

CameraController
Controls a device camera.
CameraDescription
Properties of a camera device.
CameraImageData
A single complete image buffer from the platform camera.
CameraPreview
A widget showing a live camera preview.
MediaSettings
Recording media settings.
XFile
A CrossFile is a cross-platform, simplified File abstraction.

Enums

CameraLensDirection
The direction the camera is facing.
CameraLensType
Represents various built-in camera lens types available on a device.
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

availableCameras() Future<List<CameraDescription>>
Completes with a list of available cameras.

Exceptions / Errors

CameraException
This is thrown when the plugin reports an error.