ThumbnailOption class

The thumbnail option when requesting assets.

Constructors

ThumbnailOption({ThumbnailSize size, ThumbnailFormat format = ThumbnailFormat.jpeg, int quality = vDefaultThumbnailQuality, int frame = 0})
const
ThumbnailOption.ios({@required ThumbnailSize size, ThumbnailFormat format = ThumbnailFormat.jpeg, int quality = vDefaultThumbnailQuality, DeliveryMode deliveryMode = DeliveryMode.opportunistic, ResizeMode resizeMode = ResizeMode.fast, ResizeContentMode resizeContentMode = ResizeContentMode.fit})
Construct thumbnail options only for iOS/macOS.
factory

Properties

format ThumbnailFormat
final
frame int
The frame when loading thumbnail for videos.
final
hashCode int
The hash code for this object.
read-only, override
quality int
The quality value for the thumbnail.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size ThumbnailSize
The thumbnail size.
final

Methods

checkAssertions() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
override