UsbKeyboardScannerController class

Properties

hashCode int
The hash code for this object.
no setterinherited
imei → dynamic
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 setterinherited
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 setterinherited

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)
inherited
toggleTorch() Future<void>
Switch the torch on/off (see isTorchOn for current state)
inherited
toString() String
A string representation of this object.
inherited

Operators

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