mobile_scanner library

Classes

Address
An address.
Barcode
Represents a single recognized barcode and its value.
BarcodeCapture
The return object after a frame is scanned.
CalendarEvent
A calendar event extracted from QRCode.
ContactInfo
A person's or organization's business card. For example a VCARD.
DriverLicense
A driver license or ID card.
Email
An email message from a 'MAILTO:' or similar QRCode type.
GeoPoint
GPS coordinates from a 'GEO:' or similar QRCode type.
MobileScanner
The MobileScanner widget displays a live camera preview.
MobileScannerArguments
The start arguments of the scanner.
MobileScannerController
The MobileScannerController holds all the logic of this plugin, where as the MobileScanner class is the frontend of this plugin.
MobileScannerErrorDetails
The raw error details for a MobileScannerException.
PersonName
A person's name, both formatted version and individual name components.
Phone
Phone number info.
SMS
A sms message from a 'SMS:' or similar QRCode type.
UrlBookmark
A URL and title from a 'MEBKM:' or similar QRCode type.
WiFi
A wifi network parameters from a 'WIFI:' or similar QRCode type.

Enums

AddressType
Address type constants.
BarcodeFormat
BarcodeType
Barcode value type constants
CameraFacing
The facing of a camera.
DetectionSpeed
The detection speed of the scanner.
EmailType
Email format type constants.
EncryptionType
Wifi encryption type constants.
MobileScannerErrorCode
This enum defines the different error codes for the mobile scanner.
MobileScannerState
The authorization state of the scanner.
PhoneType
Phone number format type constants.
TorchState
The state of torch.

Extensions

BarcodeValue on BarcodeFormat

Typedefs

MobileScannerErrorBuilder = Widget Function(BuildContext, MobileScannerException, Widget?)
The function signature for the error builder.

Exceptions / Errors

MobileScannerException
This class represents an exception thrown by the mobile scanner.