flutter_document_scanner library

Classes

AppState
Controls the status general of the app
Area
Area composed of 4 points
CameraController
Controls a device camera.
CameraDescription
Properties of a camera device.
CameraImage
A single complete image buffer from the platform camera.
CameraPreview
A widget showing a live camera preview.
CameraValue
The state of a CameraController.
Contour
Contour class
CropPhotoDocumentStyle
The style of the crop photo document.
DocumentScanner
This class is the main page of the application
DocumentScannerController
This class is responsible for controlling the scanning process
EditPhotoDocumentStyle
The style of the edit photo document.
FlutterDocumentScannerPlatform
The interface that implementations of flutter_document_scanner must implement.
GeneralStyles
The style of the document scanner.
ImageFormat
Describes how pixels are represented in an image.
Optional<T>
A value that might be absent.
Plane
A single color plane of image data.
TakePhotoDocumentStyle
The style of the take photo document.
XFile
A CrossFile is a cross-platform, simplified File abstraction.

Enums

AppPages
Pages of the app
AppStatus
Status of the app
CameraLensDirection
The direction the camera is facing.
ExposureMode
The possible exposure modes that can be set for a camera.
FilterType
Filter types
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:

Extensions

FilterTypeExt on FilterType
Extension with utilities to FilterType

Functions

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

Typedefs

onLatestImageAvailable = void Function(CameraImage image)
Signature for a callback receiving the a camera image.

Exceptions / Errors

CameraException
This is thrown when the plugin reports an error.