BoxFitImage constructor

BoxFitImage({
  1. required LoadImage loadImage,
  2. required Uri url,
  3. required BoxFit boxFit,
  4. required double devicePixelRatio,
  5. OnImageLoad? onImageLoad,
})

Implementation

BoxFitImage({
  required LoadImage loadImage,
  required this.url,
  required this.boxFit,
  required this.devicePixelRatio,
  this.onImageLoad,
}): _loadImage = loadImage;