AsyncImageInput class abstract
{@macro image_size_getter.image_input}
Unlike ImageInput, the methods of this class are asynchronous.
Constructors
- AsyncImageInput()
-
Provide a data source for ImageSizeGetter to get image size.
const
- AsyncImageInput.input(ImageInput input)
-
Provide a data source for ImageSizeGetter to get image size.
factory
Properties
Methods
-
delegateInput(
) → Future< HaveResourceImageInput> - When asynchronous reading is not supported, an input for real reading will be cached in memory(web) or file(dart.io).
-
exists(
) → Future< bool> - Check if the input data exists.
-
getRange(
int start, int end) → Future< List< int>> - Get a range of bytes from the input data.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
supportRangeLoad(
) → Future< bool> - Whether partial loading is supported.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited