NetworkBytesLoader class
A controller for loading vector graphics data from over the network.
This loader does not cache bytes requested from the network.
- Inheritance
-
- Object
- BytesLoader
- NetworkBytesLoader
Constructors
-
NetworkBytesLoader(Uri url, {Map<
String, String> ? headers, Client? httpClient}) -
Creates a new loading context for network bytes.
const
Properties
Methods
-
cacheKey(
BuildContext? context) → Object -
Create an object that can be used to uniquely identify this asset
and loader combination.
inherited
-
loadBytes(
BuildContext? context) → Future< ByteData> -
Load the byte data for a vector graphic binary asset.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override