ThumbnailOption.ios constructor

ThumbnailOption.ios({
  1. required ThumbnailSize size,
  2. ThumbnailFormat format = ThumbnailFormat.jpeg,
  3. int quality = PMConstants.vDefaultThumbnailQuality,
  4. DeliveryMode deliveryMode = DeliveryMode.opportunistic,
  5. ResizeMode resizeMode = ResizeMode.fast,
  6. 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,
  );
}