Image utilities for Flutter
Discontinued
This project has been discontinued, and will not receive further updates. For community discussion of alternative packages, see this issue.
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.
Libraries
- flutter_image
- network
- Utilities for loading images from the network.