CameraSetting class
- Annotations
Constructors
- CameraSetting({ResolutionPreset resolutionPreset = ResolutionPreset.high, ImageFormatGroup imageFormatGroup = ImageFormatGroup.jpeg, Duration videoDuration = const Duration(seconds: 10), bool editAfterCapture = true, bool enableGallery = true})
-
const
Properties
- editAfterCapture → bool
-
if true, photo editor will be open after capture
final
- enableGallery → bool
-
if true, gallery will be enabled
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- imageFormatGroup → ImageFormatGroup
-
Image format group. Default value is
ImageFormatGroup.jpeg
final - resolutionPreset → ResolutionPreset
-
Image resolution. Default value is
ResolutionPreset.high
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoDuration → Duration
-
Video duration. Default value is 10 seconds
final
Methods
-
copyWith(
{ResolutionPreset? resolutionPreset, ImageFormatGroup? imageFormatGroup, Duration? videoDuration, bool? editAfterCapture, bool? enableGallery}) → CameraSetting -
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