ThumbnailOption constructor

const ThumbnailOption({
  1. required ThumbnailSize size,
  2. ThumbnailFormat format = ThumbnailFormat.jpeg,
  3. int quality = PMConstants.vDefaultThumbnailQuality,
  4. int frame = 0,
})

Creates a new ThumbnailOption object with the given parameters.

Implementation

const ThumbnailOption({
  required this.size,
  this.format = ThumbnailFormat.jpeg,
  this.quality = PMConstants.vDefaultThumbnailQuality,
  this.frame = 0,
});