ImageX.url constructor

const ImageX.url(
  1. String image, {
  2. Key? key,
  3. double? radius,
  4. double? width,
  5. double? height,
  6. BoxFit? fit,
  7. Widget? placeholder,
  8. Color? backgroundColor,
  9. Widget builder(
    1. BuildContext context,
    2. ImageProvider<Object> provider,
    3. Widget completed,
    4. Size? size,
    )?,
})

Implementation

const ImageX.url(
  this.image, {
  super.key,
  this.radius,
  this.width,
  this.height,
  this.fit,
  this.placeholder,
  this.backgroundColor,
  this.builder,
})  : type = ImageType.network,
      package = null;