CameraController class abstract
A camera controller.
Constructors
- CameraController(CameraType facing)
-
Create a CameraController.
factory
Properties
-
args
→ ValueNotifier<
CameraArgs?> -
Arguments for CameraView.
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<
FlashState> -
Torch state of the camera.
no setter
Methods
-
dispose(
) → void - Release the resources of the camera.
-
hasBackCamera(
) → Future< bool> - Get status has Back Camera in Device
-
hasFrontCamera(
) → Future< bool> - Get status has Front Camera in Device
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFlash(
FlashState state) → Future< void> - Switch the torch's state.
-
startAsync(
) → Future< void> - Start the camera asynchronously.
-
switchCameraLens(
CameraType type) → Future< void> - Switch the camera type front or back
-
takePicture(
) → Future< File> - Take Picture, return File
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited