CameraController class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → CameraState
-
The cumulated state of the barcode scanner.
final
Methods
-
changeCamera(
CameraPosition position) → Future< void> -
dispose(
) → Future< void> - Disposed the platform camera and resets the whole system.
-
initialize(
List< BarcodeType> types, Resolution resolution, Framerate framerate, DetectionMode detectionMode, CameraPosition position, void onScan(Barcode)?) → Future<void> - Informs the platform to initialize the camera.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseDetector(
) → Future< void> - Pauses the scanner and preview on the platform level.
-
resumeDetector(
) → Future< void> - Resumes the scanner and preview on the platform level.
-
toggleTorch(
) → Future< void> - Toggles the torch, if available.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → CameraController
-
no setter