tree: 1efbcb5d9659edddf0c73a07a10c7bc7ba905985 [path history] [tgz]
  1. .idea/
  2. lib/
  3. tool/
  4. .analysis_options
  5. .gitignore
  6. .travis.yml
  7. AUTHORS
  8. BUILD.gn
  9. CHANGELOG.md
  10. CONTRIBUTING.md
  11. LICENSE
  12. PATENTS
  13. pubspec.yaml
  14. README.md
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:

var avatar = new Image(
  image: new 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.