Image class

Inheritance

Constructors

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

Properties

alt String
getter/setter pair
autoSize bool
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
hashCode int
The hash code for this object.
no setterinherited
height int?
getter/setter pair
id String?
getter/setter pairinherited
imageSize String
no setter
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
src String
getter/setter pair
width int?
getter/setter pair

Methods

build() String
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