CachedImage constructor
const
CachedImage({
- required String imageUrl,
- required double width,
- required double height,
- bool startLoadingOnlyWhenVisible = false,
- BoxFit? fit,
- String? assetErrorImage,
- Duration? fadeInDuration,
- Widget? customLoadingProgressIndicator,
- bool showCircularProgressIndicator = true,
- Widget? errorWidget,
- required String uniqueId,
- Key? key,
Implementation
const CachedImage({
required this.imageUrl,
required this.width,
required this.height,
this.startLoadingOnlyWhenVisible = false,
this.fit,
this.assetErrorImage,
this.fadeInDuration,
this.customLoadingProgressIndicator,
this.showCircularProgressIndicator = true,
this.errorWidget,
required this.uniqueId,
Key? key,
}) : super(key: key);