ReadyImageDefaults constructor
ReadyImageDefaults({
- required Uri resolveUrl(
- BuildContext context,
- String path
- required ImageRenderMethodForWeb imageRenderMethodForWeb,
- required LoadingErrorWidgetBuilder errorPlaceholder,
- required ProgressIndicatorBuilder loadingPlaceholder,
- required Decoration? foregroundDecoration,
- required Decoration? decoration,
- required Decoration? outerDecoration,
- required EdgeInsetsGeometry? outerPadding,
- required EdgeInsetsGeometry? innerPadding,
- required Color? color,
- required BoxFit fit,
- required HeadersCallBack headers,
- required BaseCacheManager? cacheManager,
- required bool disableHero,
Implementation
ReadyImageDefaults({
required this.resolveUrl,
required this.imageRenderMethodForWeb,
required this.errorPlaceholder,
required this.loadingPlaceholder,
required this.foregroundDecoration,
required this.decoration,
required this.outerDecoration,
required this.outerPadding,
required this.innerPadding,
required this.color,
required this.fit,
required this.headers,
required this.cacheManager,
required this.disableHero,
});