ReadyImageConfig constructor

const ReadyImageConfig({
  1. Key? key,
  2. Uri resolveUrl(
    1. BuildContext context,
    2. String path
    )?,
  3. ImageRenderMethodForWeb imageRenderMethodForWeb(
    1. BuildContext context
    )?,
  4. LoadingErrorWidgetBuilder? errorPlaceholder,
  5. ProgressIndicatorBuilder? loadingPlaceholder,
  6. Decoration foregroundDecoration(
    1. BuildContext context
    )?,
  7. Color color(
    1. BuildContext context
    )?,
  8. Decoration decoration(
    1. BuildContext context
    )?,
  9. Decoration outerDecoration(
    1. BuildContext context
    )?,
  10. EdgeInsetsGeometry outerPadding(
    1. BuildContext context
    )?,
  11. EdgeInsetsGeometry innerPadding(
    1. BuildContext context
    )?,
  12. BoxFit fit(
    1. BuildContext context
    )?,
  13. HeadersCallBack? headers,
  14. BaseCacheManager cacheManager(
    1. BuildContext context
    )?,
  15. bool disableHero(
    1. BuildContext context
    )?,
  16. bool forceForegroundRadiusSameAsBackground(
    1. BuildContext context
    )?,
  17. required Widget child,
})

Implementation

const ReadyImageConfig({
  Key? key,
  this.resolveUrl,
  this.imageRenderMethodForWeb,
  this.errorPlaceholder,
  this.loadingPlaceholder,
  this.foregroundDecoration,
  this.color,
  this.decoration,
  this.outerDecoration,
  this.outerPadding,
  this.innerPadding,
  this.fit,
  this.headers,
  this.cacheManager,
  this.disableHero,
  this.forceForegroundRadiusSameAsBackground,
  required Widget child,
}) : super(key: key, child: child);