QrScannerMasterPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- QrScannerMasterPlatform
- Implementers
Constructors
- QrScannerMasterPlatform()
- Constructs a QrScannerMasterPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateQrCode(
String data, QrGenerationOptions options) → Future< Uint8List> - Generates a QR code with the given data and options
-
getAvailableCameras(
) → Future< List< String> > - Gets available camera devices
-
getPlatformVersion(
) → Future< String?> - Gets the platform version
-
getSupportedFormats(
) → Future< List< String> > - Gets supported barcode formats
-
hasCameraPermission(
) → Future< bool> - Checks if the device has camera permission
-
hasFlash(
) → Future< bool> - Checks if flash is available on the device
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseScanner(
) → Future< void> - Pauses the camera scanner
-
requestCameraPermission(
) → Future< bool> - Requests camera permission
-
resumeScanner(
) → Future< void> - Resumes the camera scanner
-
scanFromBytes(
Uint8List imageBytes, ScanOptions options) → Future< List< QrScanResult> > - Scans QR/Barcode from image bytes
-
scanFromImage(
String imagePath, ScanOptions options) → Future< List< QrScanResult> > - Scans QR/Barcode from an image file
-
scanWithCamera(
ScanOptions options) → Future< QrScanResult?> - Starts the camera scanner with the given options
-
stopScanner(
) → Future< void> - Stops the camera scanner
-
toggleFlash(
bool enable) → Future< void> - Toggles the camera flash
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ QrScannerMasterPlatform
-
The default instance of QrScannerMasterPlatform to use.
getter/setter pair