init static method

void init({
  1. PlaceholderWidgetBuilder? placeholder,
  2. ProgressIndicatorBuilder? progressIndicatorBuilder,
  3. WrapperLoadingErrorWidgetBuilder? errorWidget,
})

Implementation

static void init({
  PlaceholderWidgetBuilder? placeholder,
  ProgressIndicatorBuilder? progressIndicatorBuilder,
  WrapperLoadingErrorWidgetBuilder? errorWidget,
}) {
  StaticCachedNetworkImage._placeholder = placeholder;
  StaticCachedNetworkImage._progressIndicatorBuilder =
      progressIndicatorBuilder;
  StaticCachedNetworkImage._errorWidget = errorWidget;
}