tree: 029bf1c377b0f1d05c1f1ba33760eee597dbc5bb [path history] [tgz]
  1. lib/
  2. AUTHORS
  3. BUILD.gn
  4. CHANGELOG.md
  5. LICENSE
  6. pubspec.yaml
  7. README.md
  8. run_tests.sh
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.