Picture class

Inheritance
Available extensions

Constructors

Picture({required List<Source> sources, required Image image, String? id, Iterable<String>? classes, Iterable<String>? inlineStyles})
Picture.darkLight({required String lightSrc, required String darkSrc, required String alt, String? id, Iterable<String>? classes, Iterable<String>? inlineStyles})
default is dark
Picture.lightDark({required String lightSrc, required String darkSrc, required String alt, String? id, Iterable<String>? classes, Iterable<String>? inlineStyles})
default is light

Properties

args ↔ Map<String, String?>?
getter/setter pairinherited
children ↔ Iterable<Element>
getter/setter pairinherited
classes ↔ Iterable<String>?
getter/setter pairinherited
copyWith → _PictureCopyWith

Available on Picture, provided by the PictureCopyWith extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
getter/setter pairinherited
image ↔ Image
getter/setter pair
inlineStyles ↔ Iterable<String>?
getter/setter pairinherited
innerText → String
no setterinherited
modifiers → String
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sources ↔ List<Source>
getter/setter pair

Methods

build() → String
override
clone() → Picture
Makes a deep copy of the element
override
collectChildrenOfType<E>({required List<E> into}) → void
inherited
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