BarcodeScannerController class abstract
Controller interface for BarcodeScanner
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isControllerSupported → bool
-
Whether the controller is supported on the current device
no setter
- isTorchOn → bool
-
Whether the device has a torch that is on
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportsSwitchingCamera
→ Future<
bool> -
Whether the device can switch between cameras (for example front vs back)
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → void - Pauses the scanner, no events should be reported until start is called
-
start(
) → void - Starts the scanner if it is not running
-
toggleCamera(
) → Future< void> - Switch between cameras (if supported. see supportsSwitchingCamera)
-
toggleTorch(
) → Future< void> - Switch the torch on/off (see isTorchOn for current state)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited