qr_code_dart_scan library

Classes

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.
CroppingStrategy
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.
PreviewState
Created by
QRCodeDartScanController
QRCodeDartScanDecoder
Created by
QRCodeDartScanView
QRCodeDartScanViewState
Result
Encapsulates the result of decoding a barcode within an image.
XFile
A CrossFile is a cross-platform, simplified File abstraction.

Enums

BarcodeFormat
Enumerates barcode formats known to this package.
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.
ImageDecodeOrientation
ImageFormatGroup
Group of image formats that are comparable across Android and iOS platforms.
QRCodeDartScanResolutionPreset
Created by
ResolutionPreset
Affect the quality of video recording and image capture:
TypeCamera
Created by
TypeScan

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.
OnResultInterceptorCallback = bool Function(Result? oldREsult, Result newResult)
TakePictureButtonBuilder = Widget Function(BuildContext context, QRCodeDartScanController controller, bool loading)

Exceptions / Errors

CameraException
This is thrown when the plugin reports an error.