ImageArea.expand constructor

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

Constructs an ImageArea that expands to fill available space.

Implementation

ImageArea.expand({
  this.controller,
  this.onLoadingImage,
  this.decoration,
  this.margin,
  this.padding,
  this.emptyChild,
  this.onErrorChild,
  this.onDragChild,
  this.onLoadingChild,
  this.fit,
  super.key
}) :
width   = double.infinity,
height  = double.infinity;