ImageSource class Null safety

An image source.

Annotations

Constructors

ImageSource(String url, {double? height, double? width})
Creates a source.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height double?
The image height.
final
image ImageMetadata?
The parent ImageMetadata.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
url String
The image URL.
final
width double?
The image width.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited