ThumbnailOption.ios constructor
ThumbnailOption.ios({
- required ThumbnailSize size,
- ThumbnailFormat format = ThumbnailFormat.jpeg,
- int quality = PMConstants.vDefaultThumbnailQuality,
- DeliveryMode deliveryMode = DeliveryMode.opportunistic,
- ResizeMode resizeMode = ResizeMode.fast,
- ResizeContentMode resizeContentMode = ResizeContentMode.fit,
Constructs thumbnail options for iOS/macOS only.
Implementation
factory ThumbnailOption.ios({
required ThumbnailSize size,
ThumbnailFormat format = ThumbnailFormat.jpeg,
int quality = PMConstants.vDefaultThumbnailQuality,
DeliveryMode deliveryMode = DeliveryMode.opportunistic,
ResizeMode resizeMode = ResizeMode.fast,
ResizeContentMode resizeContentMode = ResizeContentMode.fit,
}) {
return _IOSThumbnailOption(
size: size,
format: format,
quality: quality,
deliveryMode: deliveryMode,
resizeMode: resizeMode,
resizeContentMode: resizeContentMode,
);
}