Camera class
- Implemented types
Properties
- context ↔ DataCaptureContext?
-
getter/setter pairinherited
-
currentState
→ Future<
FrameSourceState> -
no setteroverride
- desiredState → FrameSourceState
-
no setteroverride
- desiredTorchState ↔ TorchState
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isTorchAvailable
→ Future<
bool> -
no setter
- position → CameraPosition
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
FrameSourceListener? listener) → void -
override
-
addTorchListener(
TorchListener listener) → void -
applySettings(
CameraSettings settings) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeListener(
FrameSourceListener? listener) → void -
override
-
removeTorchListener(
TorchListener listener) → void -
switchToDesiredState(
FrameSourceState state) → Future< void> -
override
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultCamera → Camera?
-
no setter
Static Methods
-
atPosition(
CameraPosition cameraPosition) → Camera?