mobile_scanner library

Classes

Address
An address.
Barcode
Represents a single recognized barcode and its value.
BarcodeCapture
This class represents a scanned barcode.
CalendarEvent
A calendar event extracted from a 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
This widget displays a live camera preview for the barcode scanner.
MobileScannerController
The controller for the MobileScanner widget.
MobileScannerErrorDetails
The raw error details for a MobileScannerException.
MobileScannerPlatform
The platform interface for the mobile_scanner plugin.
MobileScannerState
This class represents the current state of a MobileScannerController.
PersonName
A person's name, divided into individual components.
Phone
Phone number information from a barcode.
SMS
An sms message from a SMS: or similar QRCode type.
UrlBookmark
A URL and title from a MEBKM: or similar QRCode type.
WiFi
Wireless network information from BarcodeType.wifi barcodes.

Enums

AddressType
Address type constants.
BarcodeFormat
This enum defines the different barcode formats.
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.
MobileScannerAuthorizationState
The authorization state of the scanner.
MobileScannerErrorCode
This enum defines the different error codes for the mobile scanner.
PhoneType
Phone number format type constants.
TorchState
The state of the flashlight.

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.