Src class

Represents a source URL with its associated width for an image.

The Src class is used as a part of the Images class to represent individual image sources.

Constructors

Src({required String? url, required int? width})
Constructor for creating a Src object.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
The URL of the image source.
final
width int?
The width of the image source in pixels.
final

Methods

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

Operators

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