painting library

Enums

ImageType
defines the types of supported image source.

Functions

defaultAssetsProvider(Uri uri, ImageProviderParams params) ImageProvider<Object>
default ImageProviderFactory implementation of ImageType.assets.
defaultBlobProviderFactory(Uri uri, ImageProviderParams params) ImageProvider<Object>?
default ImageProviderFactory implementation of ImageType.blob.
defaultCachedProviderFactory(Uri uri, ImageProviderParams params) ImageProvider<Object>
default ImageProviderFactory implementation of ImageType.cached
defaultDataUrlProviderFactory(Uri uri, ImageProviderParams params) ImageProvider<Object>?
default ImageProviderFactory implementation of ImageType.dataUrl.
defaultFileProviderFactory(Uri uri, ImageProviderParams params) ImageProvider<Object>?
default ImageProviderFactory implementation of ImageType.file
defaultNetworkProviderFactory(Uri uri, ImageProviderParams params) ImageProvider<Object>
default ImageProviderFactory implementation of ImageType.network
getImageProvider(Uri resolvedUri, {int? contextId, dynamic cache = 'auto', BoxFit objectFit = BoxFit.fill, int? cachedWidth, int? cachedHeight}) ImageProvider<Object>?
parseImageUrl(Uri resolvedUri, {String cache = 'auto'}) ImageType

Typedefs

ImageProviderFactory = ImageProvider<Object>? Function(Uri uri, ImageProviderParams params)
A factory function allow user to build an customized ImageProvider class.