ImageArea constructor

const ImageArea({
  1. required 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. bool readOnly = false,
  14. Key? key,
})

Creates an ImageArea with specified width and height.

Implementation

const ImageArea({
  required 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,
  this.readOnly = false,
  super.key
});