ImageArea constructor

const ImageArea({
  1. ImageController? controller,
  2. double? width,
  3. double? height,
  4. String? onLoadingImage,
  5. BoxDecoration? decoration,
  6. EdgeInsetsGeometry? margin,
  7. EdgeInsetsGeometry? padding,
  8. Widget? onFullChild,
  9. Widget? onEmptyChild,
  10. Widget? onErrorChild,
  11. Widget? onDragChild,
  12. Widget? onLoadingChild,
  13. BoxFit? fit,
  14. FilterQuality? quality,
  15. Map<String, String>? headers,
  16. Key? key,
})

Constructs an ImageArea with specified width and height.

Implementation

const ImageArea({
  this.controller,
  this.width,
  this.height,
  this.onLoadingImage,
  this.decoration,
  this.margin,
  this.padding,
  this.onFullChild,
  this.onEmptyChild,
  this.onErrorChild,
  this.onDragChild,
  this.onLoadingChild,
  this.fit,
  this.quality,
  this.headers,
  super.key
});