ScannerController class

PlatformScannerController

Constructors

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

Properties

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

Methods

closeFlash() → Future
Close camera flash.
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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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