UltraQrScanner class
Ultra-fast QR code scanner for Flutter with native performance optimization
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- isPrepared → bool
-
Check if scanner is prepared
no setter
- isScanning → bool
-
Check if scanner is currently scanning
no setter
Static Methods
-
disposeScanner(
) → Future< void> - Fully dispose the scanner session (call from widget dispose)
-
getPlatformVersion(
) → Future< String?> - Get platform version (for testing)
-
prepareScanner(
) → Future< void> - Prepare scanner for ultra-fast access
-
requestPermissions(
) → Future< bool> - Request camera permissions
-
scanOnce(
) → Future< String?> - Scan QR code once and return result
-
scanStream(
) → Stream< String> - Start continuous scanning stream
-
scanStreamWithType(
) → Stream< Map< String, dynamic> > -
stopScanner(
) → Future< void> - Stop scanner and release resources
-
switchCamera(
String position) → Future< void> - Switch camera (front/back)
-
toggleFlash(
bool enabled) → Future< void> - Toggle flash on/off