AtomicImage.network constructor

const AtomicImage.network({
  1. Key? key,
  2. required String url,
  3. double? width,
  4. double? height,
  5. BoxFit fit = BoxFit.cover,
  6. Color? color,
  7. BorderRadius? borderRadius,
  8. Border? border,
  9. Widget? placeholder,
  10. Widget? errorWidget,
})

Implementation

const AtomicImage.network({
  super.key,
  required String url,
  this.width,
  this.height,
  this.fit = BoxFit.cover,
  this.color,
  this.borderRadius,
  this.border,
  this.placeholder,
  this.errorWidget,
})  : path = url,
      source = AtomicImageSource.network;