NetworkImage class
An ImageProvider that loads an image from an HTTP(S) URL.
Image(image: NetworkImage('https://example.com/photo.png'))
- Inheritance
-
- Object
- ImageProvider
- NetworkImage
Constructors
-
NetworkImage(String url, {Map<
String, String> headers = const {}}) -
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
) → Future< ImageData> -
Resolves and returns the image data.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited