ReadyImageDefaults constructor

ReadyImageDefaults({
  1. required Uri resolveUrl(
    1. BuildContext context,
    2. String path
    ),
  2. required ImageRenderMethodForWeb imageRenderMethodForWeb,
  3. required LoadingErrorWidgetBuilder errorPlaceholder,
  4. required ProgressIndicatorBuilder loadingPlaceholder,
  5. required Decoration? foregroundDecoration,
  6. required Decoration? decoration,
  7. required Decoration? outerDecoration,
  8. required EdgeInsetsGeometry? outerPadding,
  9. required EdgeInsetsGeometry? innerPadding,
  10. required Color? color,
  11. required BoxFit fit,
  12. required HeadersCallBack headers,
  13. required BaseCacheManager? cacheManager,
  14. 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,
});