ImageOptions constructor

ImageOptions({
  1. int? width,
  2. int? height,
  3. int? devicePixelRatio,
  4. int? quality,
  5. String? format,
})

Creates a new image options object with the provided parameters. This handles width, height, device pixel ratio, quality, and format.

Implementation

ImageOptions({
  this.width,
  this.height,
  this.devicePixelRatio,
  this.quality,
  this.format,
});