BarcodeScanner class abstract
This provides static methods to alter how the barcode scanning process.
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 Methods
-
closeCamera(
) → Future - Close Android camera manually.
-
flipCamera(
) → Future - Go from back camera to front or vice versa.
-
startScanner(
) → Future -
Start the scanning process. It is useful in case
BarcodeScanner.stopScanner
has been called before or ifBarcodeScannerWidget
has been created withstartScanning
set tofalse
. -
stopScanner(
) → Future -
Stop the scanner. No barcode will be produced until next call to
BarcodeScanner.startScanner
. -
toggleFlashlight(
) → Future - This allows to toggle the flashlight.