tree: 1e5186b70c0e6d2e787f8850c3fd5300ef96a7a3 [path history] [tgz]
  1. lib/
  2. test/
  3. .gitignore
  4. AUTHORS
  5. CHANGELOG.md
  6. LICENSE
  7. pubspec.yaml
  8. README.md
  9. 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:

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.