CachedImage constructor

CachedImage({
  1. required String url,
  2. BoxFit? fit,
  3. double? width,
  4. double? height,
  5. Widget? placeHolder,
  6. BorderRadius? borderRadius,
  7. ColorFilter? colorFilter,
  8. Alignment? alignment,
  9. Widget? child,
  10. BoxShape? boxShape,
  11. Color? borderColor,
  12. double? borderWidth,
  13. Color? bgColor,
  14. bool haveRadius = true,
})

Implementation

CachedImage({
  required this.url,
  this.fit,
  this.width,
  this.height,
  this.placeHolder,
  this.borderRadius,
  this.colorFilter,
  this.alignment,
  this.child,
  this.boxShape,
  this.borderColor,
  this.borderWidth,
  this.bgColor,
  this.haveRadius=true
});