hf_retry 0.0.1 copy "hf_retry: ^0.0.1" to clipboard
hf_retry: ^0.0.1 copied to clipboard

outdated

A new Flutter package project.

hf_retry #

A plugin to enhance user experience during network downtime.

  • Shows placeholder image in place of NetworkImage when there is no network is unawailable
  • 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,
    );
  },
),
10
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package project.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on hf_retry