CachedNetworkImage constructor
CachedNetworkImage({
- required String url,
- String? name,
- BoxFit? fit,
- Size? size,
- Widget? loadingWidget,
- ImageErrorWidgetBuilder? errorBuilder,
- ImageFrameBuilder? frameBuilder,
- double scale = 1.0,
- Key? key,
Implementation
CachedNetworkImage({
required this.url,
this.name,
this.fit,
this.size,
this.loadingWidget,
this.errorBuilder,
this.frameBuilder,
this.scale = 1.0,
super.key,
});