hf_retry 1.0.0 icon indicating copy to clipboard operation
hf_retry: ^1.0.0 copied to clipboard

A package to enhance user experience during network downtime.

hf_retry #

A plugin to enhance user experience during network downtime.

  • Shows placeholder image in place of NetworkImage when the network is unavailable
  • Retries and fetches NetworkImage as soon as the device is connected to the internet

Just use NetworkImageWithRetry in place of NetworkImage

Example #

Image(
  image: NetworkImageWithRetry('http://example.com/avatars/123.jpg'),
  errorBuilder: (context, _, __) {
    return FlutterLogo(
      size: 200,
    );
  },
),
9
likes
120
pub points
41%
popularity

Publisher

unverified uploader

A package to enhance user experience during network downtime.

Homepage

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on hf_retry