async_image library

Classes

AsyncImage
AsyncImageProvider
A ImageProvider that loads an image from a future.
AsyncImageStreamCompleter
A ImageStreamCompleter that asynchronously listens to an image stream.
OctoError
Helper class with pre-made OctoErrorBuilders. These can be directly used when creating an image. For example: OctoImage( image: NetworkImage('https://dummyimage.com/600x400/000/fff'), errorBuilder: OctoError.icon(), );
OctoPlaceholder
OctoPlaceholders are predefined OctoPlaceholderBuilders that can easily be used for the OctoImage. For example: OctoImage( image: NetworkImage('https://dummyimage.com/600x400/000/fff'), placeholderBuilder: OctoPlaceholder.circularProgressIndicator(), );
OctoProgressIndicator
Predefined set of OctoProgressIndicatorBuilders. For example: OctoImage( image: NetworkImage('https://dummyimage.com/600x400/000/fff'), progressIndicatorBuilder: OctoProgressIndicator.circularProgressIndicator(), );
OctoSet
OctoSets are predefined combinations of a OctoPlaceholderBuilder, OctoProgressIndicatorBuilder, OctoImageBuilder and/or OctoErrorBuilder. All sets have at least a placeholder or progress indicator and an error builder.

Typedefs

AsyncImageProviderCallback<T extends Object> = Future<ImageProvider<T>> Function()
A Future that resolves to an ImageProvider.