FilterOption class

Filter option 筛选选项的详细情况

Constructors

FilterOption({bool needTitle = false, SizeConstraint sizeConstraint = const SizeConstraint(), DurationConstraint durationConstraint = const DurationConstraint()})
const

Properties

durationConstraint DurationConstraint
See DurationConstraint, ignore in AssetType.image.
final
hashCode int
The hash code for this object.
no setterinherited
needTitle bool
This property affects performance on iOS. If not needed, please pass false, default is false.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeConstraint SizeConstraint
See SizeConstraint
final

Methods

copyWith({bool? needTitle, SizeConstraint? sizeConstraint, DurationConstraint? durationConstraint}) FilterOption
Create a new FilterOption with specific properties merging.
merge(FilterOption other) FilterOption
Merge a FilterOption into another.
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.
override

Operators

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