in_app_scanner library
Classes
- Barcode
- A class to represent the contents of a barcode in an InputImage.
- BarcodeAddress
- Stores an address obtained from a barcode.
- BarcodeCalenderEvent
- Stores a calendar event obtained from a barcode.
- BarcodeContactInfo
- Stores a person’s or organization’s business card obtained from a barcode.
- BarcodeDriverLicense
- Stores driver’s license or ID card data representation obtained from a barcode.
- BarcodeEmail
- Stores an email message obtained from a barcode.
- BarcodeGeoPoint
- Stores GPS coordinates obtained from a barcode.
- BarcodePhone
- Stores a phone number obtained from a barcode.
- BarcodeScanner
- A barcode scanner that scans and decodes barcodes from a given InputImage.
- BarcodeSMS
- Stores an SMS message obtained from a barcode.
- BarcodeUrl
- Stores url info of the bookmark obtained from a barcode.
- BarcodeValue
- Stores info obtained from a barcode.
- BarcodeWifi
- Stores wifi info obtained from a barcode.
- 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.
- ImageFormat
- Describes how pixels are represented in an image.
- InAppScannerBuilder
- InAppScannerController
- InAppScannerView
- InputImage
- Image format that ML Kit takes to process the image.
- InputImageMetadata
- Data of image required when creating image from bytes.
- ModelManager
- A class to manage remote models.
-
Optional<
T> - A value that might be absent.
- Plane
- A single color plane of image data.
- XFile
- A CrossFile is a cross-platform, simplified File abstraction.
Enums
- BarcodeAddressType
- Address type constants for BarcodeAddress.type
- BarcodeEmailType
- The type of email for BarcodeEmail.type.
- BarcodeFormat
- Barcode formats supported by the barcode scanner. Options for specifying the barcode formats that the library can detect.
- BarcodePhoneType
- The type of phone number for BarcodePhone.type.
- BarcodeType
- Barcode types returned by BarcodeScanner.
- 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.
- InAppScannerFlags
- InputImageFormat
- To indicate the format of image while creating input image from bytes
- InputImageRotation
- The camera rotation angle to be specified
- InputImageType
- The type of InputImage.
- ResolutionPreset
- Affect the quality of video recording and image capture:
Extensions
Functions
-
availableCameras(
) → Future< List< CameraDescription> > - Completes with a list of available cameras.
Typedefs
- InAppScannerViewBuilder = Widget Function(BuildContext context, InAppScannerController controller)
- 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.