GalleryOptions class

Constructors

GalleryOptions({bool allowsEditing = false, FlashMode flashMode = FlashMode.off, String? savePath, bool isFront = false, bool hasSound = true, double videoMaximumDuration = 15, QualityType qualityType = QualityType.medium, CameraMode cameraMode = CameraMode.photo})

Properties

allowsEditing bool
****** ios 配置信息 (仅支持ios) ****** /// 是否可编辑
getter/setter pair
cameraMode CameraMode
相机模式
getter/setter pair
flashMode FlashMode
闪光灯模式
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasSound bool
视频是否包含声音
getter/setter pair
isFront bool
是否使用前置摄像头
getter/setter pair
qualityType QualityType
视频质量
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
savePath String?
****** android 配置信息 (仅支持android) ****** /// savePath => 图片临时储存位置
getter/setter pair
videoMaximumDuration double
录像的最大时间
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited