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