CamValue class
Camera controller value
- Annotations
Constructors
-
CamValue({CameraDescription? cameraDescription, List<
CameraDescription> cameras = const [], CameraType cameraType = CameraType.normal, bool enableAudio = true, FlashMode flashMode = FlashMode.off, bool isTakingPicture = false, bool isRecordingVideo = false, bool isRecordingPaused = false, bool isPlaygroundActive = false, CameraException? error}) -
const
Properties
- cameraDescription → CameraDescription?
-
Current active camera description e,g. Front camera or back camera
final
-
cameras
→ List<
CameraDescription> -
Available camera description list
final
- cameraType → CameraType
-
Type of the active camera
final
- enableAudio → bool
-
Audio will be enabled if value is true
final
- error → CameraException?
-
Any error that is related to camera
final
- flashMode → FlashMode
-
Camera flash mode
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hideCameraCloseButton → bool
-
Hide camera close button if :-
no setter
- hideCameraFlashButton → bool
-
Hide camera flash button if :-
no setter
-
Hide camera footer if :-
no setter
- hideCameraGalleryButton → bool
-
Hide camera gallery button if :-
no setter
- hideCameraRotationButton → bool
-
Hide camera rotation button if :-
no setter
- hideCameraShutterButton → bool
-
Hide camera shutter button if :-
no setter
- isPlaygroundActive → bool
-
Return true if playground is active
final
- isRecordingPaused → bool
-
Return true if video recording is in pause state
final
- isRecordingVideo → bool
-
Return true if camera is recording video
final
- isTakingPicture → bool
-
Return true if camera is taking picture
final
- lensDirection → CameraLensDirection
-
Current lense direction
no setter
- oppositeLensDirection → CameraLensDirection
-
Opposite lense direction of current lensDirection
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{CameraDescription? cameraDescription, List< CameraDescription> ? cameras, CameraType? cameraType, bool? enableAudio, FlashMode? flashMode, bool? isTakingPicture, bool? isRecordingVideo, bool? isRecordingPaused, bool? isPlaygroundActive, CameraException? error}) → CamValue -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override