CameraController class abstract

A camera controller.

Constructors

CameraController([CameraFacing facing = CameraFacing.back])
Create a CameraController.
factory

Properties

args ValueNotifier<CameraArgs?>
Arguments for CameraView.
no setter
barcodes Stream<Barcode>
A stream of barcodes.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
torchState ValueNotifier<TorchState>
Torch state of the camera.
no setter

Methods

dispose() → void
Release the resources of the camera.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startAsync() Future<void>
Start the camera asynchronously.
torch() → void
Switch the torch's state.
toString() String
A string representation of this object.
inherited

Operators

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