CameraValue class
Constructors
- CameraValue({bool isTakingPicture = false, bool isRecordingVideo = false, CameraState state = CameraState.preparing, CameraFacing facing = CameraFacing.back, CameraFlash flash = CameraFlash.off, double zoom = 0, ResolutionPreset resolutionPreset = ResolutionPreset.FHD})
-
const
Properties
- facing → CameraFacing
-
final
- flash → CameraFlash
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRecordingVideo → bool
-
final
- isTakingPicture → bool
-
final
- resolutionPreset → ResolutionPreset
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → CameraState
-
final
- zoom → double
-
final
Methods
-
copyWith(
{bool? isTakingPicture, bool? isRecordingVideo, CameraState? state, CameraFacing? facing, CameraFlash? flash, double? zoom, ResolutionPreset? resolutionPreset}) → CameraValue -
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.
inherited