camera library
Classes
- CameraController
- Controls a device camera.
- CameraDescription
- CameraImage
- A single complete image buffer from the platform camera.
- CameraPreview
- CameraValue
- The state of a CameraController.
- ImageFormat
- Describes how pixels are represented in an image.
- Plane
- A single color plane of image data.
Enums
- CameraLensDirection
- FlashMode
- 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.
-
serializeResolutionPreset(
ResolutionPreset resolutionPreset) → String - Returns the resolution preset as a String.
Typedefs
- onLatestImageAvailable = dynamic Function(CameraImage image)
Exceptions / Errors
- CameraException
- This is thrown when the plugin reports an error.