ImageArea.expand constructor

ImageArea.expand({
  1. ImageController? controller,
  2. String? onLoadingImage,
  3. BoxDecoration? decoration,
  4. EdgeInsetsGeometry? margin,
  5. EdgeInsetsGeometry? padding,
  6. Widget? onFullChild,
  7. Widget? onEmptyChild,
  8. Widget? onErrorChild,
  9. Widget? onDragChild,
  10. Widget? onLoadingChild,
  11. BoxFit? fit,
  12. Map<String, String>? headers,
  13. int? maxSize,
  14. 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.onFullChild,
  this.onEmptyChild,
  this.onErrorChild,
  this.onDragChild,
  this.onLoadingChild,
  this.fit,
  this.headers,
  this.maxSize,
  super.key
}) :
width   = double.infinity,
height  = double.infinity;