ScannerController class

PlatformScannerController

Constructors

ScannerController({@required dynamic scannerResult(String result), dynamic scannerViewCreated()})
Constructor.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isOpenFlash bool
read-only
isStartCamera bool
read-only
isStartCameraPreview bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scannerViewCreated → dynamic
read-only

Methods

closeFlash() → Future
Close camera flash.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
openFlash() → Future
Open camera flash.
startCamera() → Future
Start camera without open QRCode、BarCode scanner,this is just open camera.
startCameraPreview() → Future
Start camera preview with open QRCode、BarCode scanner,this is open code scanner.
stopCamera() → Future
Stop camera.
stopCameraPreview() → Future
Stop camera preview.
toggleFlash() → Future
Toggle camera flash.
toString() String
Returns a string representation of this object.
inherited

Operators

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