ImageType enum
defines the types of supported image source.
Values
- cached → const ImageType
-
Network image source with memory cache.
NOTE: default ImageProviderFactory implementation CachedNetworkImage. will be called when
url
startsWith '//' ,'http://','https://'.param
will be bool, the value is true. - network → const ImageType
-
Network image source.
NOTE: default ImageProviderFactory implementation NetworkImage will be called when
url
startsWith '//' ,'http://','https://'param
will be bool, the value is false. - file → const ImageType
-
File path image source
NOTE: default ImageProviderFactory implementation FileImage will be called when
url
startsWith 'file://'param
will be type File - dataUrl → const ImageType
-
Raw image data source
NOTE: default ImageProviderFactory implementation MemoryImage will be called when
url
startsWith 'data://'param
will be Uint8List, value is the content part of the data URI as bytes, which is converted by UriData.contentAsBytes. - blob → const ImageType
-
Blob image source which created by URL.createObjectURL()
NOTE: default ImageProviderFactory implementation is defaultBlobProviderFactory
blobPath
@TODO - assets → const ImageType
-
Assets image source.
NOTE: default ImageProviderFactory implementation is defaultAssetsProvider Current, this type only has asset image source, assets should treat as asset image.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited