CachedImage constructor
const
CachedImage({
- Key? key,
- required String? url,
- String? placeholderAssets = "packages/flutter_smart/assets/images/placeholder.png",
- String? errorAssets = "packages/flutter_smart/assets/images/placeholder.png",
- BoxFit? fit,
- double? width,
- double? height,
- BorderRadiusGeometry? borderRadius,
- double? borderRadiusAll,
- BoxBorder? border,
- dynamic onTap()?,
Implementation
const CachedImage({
super.key,
required this.url,
this.placeholderAssets =
"packages/flutter_smart/assets/images/placeholder.png",
this.errorAssets = "packages/flutter_smart/assets/images/placeholder.png",
this.fit,
this.width,
this.height,
this.borderRadius,
this.borderRadiusAll,
this.border,
this.onTap,
});