WebBarcodeReaderBase class abstract

Implementers

Constructors

WebBarcodeReaderBase({required DivElement videoContainer})

Properties

frameInterval ↔ Duration
Timer used to capture frames to be analyzed
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isStarted → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
videoContainer → DivElement
final
videoHeight → int
no setter
videoWidth → int
no setter

Methods

detectBarcodeContinuously() → Stream<Barcode?>
Starts scanning QR codes or barcodes
hasTorch() → Future<bool>
Determine whether device has flash
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start({required CameraFacing cameraFacing, List<BarcodeFormat>? formats, Duration? detectionTimeout}) → Future<void>
Starts streaming video
stop() → Future<void>
Stops streaming video
stopDetectBarcodeContinuously() → Future<void>
Stops scanning QR codes or barcodes
toggleTorch({required bool enabled}) → Future<void>
Can enable or disable the flash if available
toString() → String
A string representation of this object.
inherited

Operators

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