Image class

Inheritance
Available extensions

Constructors

Image({required String src, required String alt, String? title, int? width, int? height, Loading? loading, String? imageRoot, bool autoSize = true, String? id, Iterable<String>? classes, Iterable<String>? inlineStyles})

Properties

alt ↔ String
getter/setter pair
args ↔ Map<String, String?>?
getter/setter pairinherited
autoSize ↔ bool
Use the imageRoot parameter, or set the TECHS_IMAGE_ROOT environment variable in your build script, to control from where the autoSize mechanism will look.
getter/setter pair
children ↔ Iterable<Element>
getter/setter pairinherited
classes ↔ Iterable<String>?
getter/setter pairinherited
copyWith → _ImageCopyWith

Available on Image, provided by the ImageCopyWith extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
height ↔ int?
getter/setter pair
id ↔ String?
getter/setter pairinherited
imageRoot ↔ String?
Tells the autoSize mechanism where to look for the image file to measure.
getter/setter pair
imageSize → String
no setter
inlineStyles ↔ Iterable<String>?
getter/setter pairinherited
innerText → String
no setterinherited
loading ↔ Loading?
getter/setter pair
modifiers → String
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
src ↔ String
getter/setter pair
title ↔ String?
getter/setter pair
width ↔ int?
getter/setter pair

Methods

build() → String
override
clone() → Image
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