ImageArea constructor

const ImageArea({
  1. ImageController? controller,
  2. required double width,
  3. required double height,
  4. String? onLoadingImage,
  5. BoxDecoration? decoration,
  6. EdgeInsetsGeometry? margin,
  7. EdgeInsetsGeometry? padding,
  8. Widget? emptyChild,
  9. Widget? onErrorChild,
  10. Widget? onDragChild,
  11. Widget? onLoadingChild,
  12. BoxFit? fit,
  13. Key? key,
})

Constructs an ImageArea with specified width and height.

Implementation

const ImageArea({
  this.controller,
  required this.width,
  required this.height,
  this.onLoadingImage,
  this.decoration,
  this.margin,
  this.padding,
  this.emptyChild,
  this.onErrorChild,
  this.onDragChild,
  this.onLoadingChild,
  this.fit,
  super.key
});