QuickqrScannerPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • QuickqrScannerPlatform
Implementers

Constructors

QuickqrScannerPlatform.new()
Constructs a QuickqrScannerPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
onQRDetected Stream<QRScanResult>
Stream for receiving QR scan results
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyCameraControlConfig(CameraControlConfig config) Future<Map<String, dynamic>>
Apply complete camera control configuration
checkAvailability() Future<Map<String, dynamic>>
Check device availability for QR scanning
checkPermissions() Future<Map<String, dynamic>>
Check camera permissions
dispose() Future<void>
Dispose the scanner
getCameraCapabilities() Future<Map<String, dynamic>>
Get current camera capabilities and settings
getCameraResolutionState() Future<Map<String, dynamic>>
Get current camera resolution state
getExposureState() Future<Map<String, dynamic>>
Get current exposure state
getFocusState() Future<Map<String, dynamic>>
Get current focus state
getFrameRateState() Future<Map<String, dynamic>>
Get current frame rate state
getHDRState() Future<Map<String, dynamic>>
Get current HDR state
getImageStabilizationState() Future<Map<String, dynamic>>
Get current image stabilization state
getMacroModeState() Future<Map<String, dynamic>>
Get current macro mode state
getWhiteBalanceState() Future<Map<String, dynamic>>
Get current white balance state
getZoomCapabilities() Future<Map<String, dynamic>>
Get current zoom capabilities
initialize([QRScanConfig? config]) Future<Map<String, dynamic>>
Initialize the QR scanner
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPermissions() Future<Map<String, dynamic>>
Request camera permissions
scanFromImage(String imagePath) Future<QRScanResult?>
Scan QR code from image file
setCameraResolution(CameraResolution resolution) Future<Map<String, dynamic>>
Set camera resolution preference
setExposureMode(ExposureMode exposureMode, [double? exposureCompensation]) Future<Map<String, dynamic>>
Set exposure mode and compensation
setFocusMode(FocusMode focusMode, [FocusPoint? focusPoint]) Future<Map<String, dynamic>>
Set focus mode and point
setFrameRate(int frameRate) Future<Map<String, dynamic>>
Set preferred frame rate for scanning
setHDRMode(bool enabled) Future<Map<String, dynamic>>
Enable or disable HDR mode
setImageStabilization(bool enabled) Future<Map<String, dynamic>>
Enable or disable image stabilization
setMacroMode(bool enabled) Future<Map<String, dynamic>>
Enable or disable macro mode for close-up scanning
setWhiteBalanceMode(WhiteBalanceMode whiteBalanceMode) Future<Map<String, dynamic>>
Set white balance mode
setZoomLevel(double zoomLevel) Future<Map<String, dynamic>>
Set zoom level during scanning
startScanning() Future<void>
Start real-time QR scanning
stopScanning() Future<void>
Stop QR scanning
switchCamera(CameraPosition position) Future<Map<String, dynamic>>
Switch between front and back camera
toggleFlashlight() Future<Map<String, dynamic>>
Toggle flashlight
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance QuickqrScannerPlatform
The default instance of QuickqrScannerPlatform to use.
getter/setter pair