ScannerController class
PlatformScannerController
Constructors
- ScannerController({required dynamic scannerResult(String result), dynamic scannerViewCreated})
- Constructor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOpenFlash → bool
-
no setter
- isStartCamera → bool
-
no setter
- isStartCameraPreview → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scannerViewCreated → (dynamic Function()?)
-
no setter
Methods
-
closeFlash(
) → dynamic - Close camera flash.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openFlash(
) → dynamic - Open camera flash.
-
startCamera(
) → dynamic - Start camera without open QRCode、BarCode scanner,this is just open camera.
-
startCameraPreview(
) → dynamic - Start camera preview with open QRCode、BarCode scanner,this is open code scanner.
-
stopCamera(
) → dynamic - Stop camera.
-
stopCameraPreview(
) → dynamic - Stop camera preview.
-
toggleFlash(
) → dynamic - Toggle camera flash.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited