H2 class

Inheritance
Available extensions

Constructors

H2({required Iterable<Element> children, String? id, Iterable<String>? classes, Iterable<String>? inlineStyles, bool autoID = true, bool autoLink = defaultAutoLink})
H2.text(String text, {String? id, Iterable<String>? classes, Iterable<String>? inlineStyles, bool autoID = true, bool autoLink = defaultAutoLink})

Properties

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

Available on H2, provided by the H2CopyWith extension

no setter
copyWith → _HnCopyWith

Available on Hn, provided by the HnCopyWith extension

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

Methods

build() → String
inherited
clone() → Hn
Makes a deep copy of the element
inherited
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

Constants