tree: 268b28ff28274708fa396de7ac6b19d0b5cf09b3 [path history] [tgz]
  1. example/
  2. lib/
  3. test/
  4. .gitignore
  5. AUTHORS
  6. CHANGELOG.md
  7. LICENSE
  8. pubspec.yaml
  9. README.md
  10. run_tests.sh
packages/flutter_image/README.md

Image utilities for Flutter

NetworkImageWithRetry

Use NetworkImageWithRetry instead of Image.network to load images from the network with a retry mechanism.

Example:

const Image avatar = Image(
  image: NetworkImageWithRetry('http://example.com/avatars/123.jpg'),
);

The retry mechanism may be customized by supplying a custom FetchStrategy function. FetchStrategyBuilder is a utility class that helps building fetch strategy functions.

Features and bugs

Please file feature requests and bugs at https://github.com/flutter/flutter/issues.