XImageNetwork constructor

const XImageNetwork(
  1. String? imageUrl, {
  2. Key? key,
  3. double? width,
  4. double? height,
  5. BoxFit fit = BoxFit.cover,
  6. BorderRadius? borderRadius,
  7. Widget? placeholder,
  8. Widget? errorWidget,
  9. Color? defaultColor,
})

Implementation

const XImageNetwork(
  this.imageUrl, {
  Key? key,
  this.width,
  this.height,
  this.fit = BoxFit.cover,
  this.borderRadius,
  this.placeholder,
  this.errorWidget,
  this.defaultColor,
}) : super(key: key);