Web Image

A control placeholder and error image for image provider.

How to use

The WebImage can be used as an ImageProvider.

Image(
    image: WebImage(
      NetworkImage("url"),
      placeholder: AssetImage("placeholder_path"),
      error: AssetImage("error_path"),
    )
)

Libraries

web_image