flutter_image library

Classes

FetchInstructions
Instructions NetworkImageWithRetry uses to fetch the image.
FetchStrategyBuilder
Builds a FetchStrategy function that retries up to a certain amount of times for up to a certain amount of time.
NetworkImageWithRetry
Fetches the image from the given URL, associating it with the given scale.

Typedefs

FetchStrategy = Future<FetchInstructions> Function(Uri uri, FetchFailure? failure)
This function is called to get FetchInstructions to fetch an image.
TransientHttpStatusCodePredicate = bool Function(int statusCode)
Determines whether the given HTTP statusCode is transient.

Exceptions / Errors

FetchFailure
Contains information about a failed attempt to fetch an image.