CustomCacheNetwork constructor

const CustomCacheNetwork({
  1. Key? key,
  2. required String url,
  3. BorderRadiusGeometry? borderRadius,
  4. BoxFit? fit = BoxFit.cover,
  5. double? height,
  6. double? width,
  7. String? error,
  8. Color? color,
  9. Widget errorWidget(
    1. BuildContext,
    2. String,
    3. Object
    )?,
  10. Widget progressIndicatorBuilder(
    1. BuildContext,
    2. String,
    3. DownloadProgress
    )?,
})

Implementation

const CustomCacheNetwork({
  super.key,
  required this.url,
  this.borderRadius,
  this.fit = BoxFit.cover,
  this.height,
  this.width,
  this.error,
  this.color,
  this.errorWidget,
  this.progressIndicatorBuilder,
});