QrMobileVision class

QR Mobile Vision wrapper allowing for convenient usage of Platform interface

Constructors

QrMobileVision()

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 Methods

heartbeat() Future<void>
start({required int width, required int height, required ValueChanged<String?> qrCodeHandler, CameraDirection cameraDirection = CameraDirection.BACK, List<BarcodeFormats>? formats = defaultBarcodeFormats}) Future<PreviewDetails>
Start the QR reading. Attempts to find the closest camera resolution for the given width/height, chooses the appropriate direction, and tells the framework which formats to listen to.
stop() Future<void>
toggleFlash() Future<void>