CachedImageMemory constructor
const
CachedImageMemory({
- Key? key,
- required String url,
- required MemoryImageCacheService cacheService,
- double? height,
- double? width,
- BoxFit? fit,
- Widget builder(
- BuildContext context,
- Uint8List data
- WidgetBuilder? loadingBuilder,
- Widget errorBuilder(
- BuildContext context,
- Object error
- void onReady(
- Uint8List data
- void onError(
- Object error
- Duration fadeDuration = const Duration(milliseconds: 300),
Implementation
const CachedImageMemory({
super.key,
required this.url,
required this.cacheService,
this.height,
this.width,
this.fit,
this.builder,
this.loadingBuilder,
this.errorBuilder,
this.onReady,
this.onError,
this.fadeDuration = const Duration(milliseconds: 300),
});