ThumbOption.ios constructor

ThumbOption.ios({
  1. required int width,
  2. required int height,
  3. ThumbFormat format = ThumbFormat.jpeg,
  4. int quality = 95,
  5. DeliveryMode deliveryMode = DeliveryMode.opportunistic,
  6. ResizeMode resizeMode = ResizeMode.fast,
  7. ResizeContentMode resizeContentMode = ResizeContentMode.fit,
})

Implementation

factory ThumbOption.ios({
  required int width,
  required int height,
  ThumbFormat format = ThumbFormat.jpeg,
  int quality = 95,
  DeliveryMode deliveryMode = DeliveryMode.opportunistic,
  ResizeMode resizeMode = ResizeMode.fast,
  ResizeContentMode resizeContentMode = ResizeContentMode.fit,
}) {
  return _IosThumbOption(
    width: width,
    height: height,
    format: format,
    quality: quality,
    deliveryMode: deliveryMode,
    resizeMode: resizeMode,
    resizeContentMode: resizeContentMode,
  );
}