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

hashCode int
The hash code for this object.
no setterinherited
length Future<int>
Get a range of bytes from the input data.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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