Hn class abstract

Inheritance
Implementers
Available extensions

Constructors

Hn({required int level, required Iterable<Element> children, String? id, Iterable<String>? classes, Iterable<String>? inlineStyles, bool autoID = true, bool autoLink = true})
Hn.fromLevel({required int level, required Iterable<Element> children, String? id, Iterable<String>? classes, Iterable<String>? inlineStyles, bool autoID = true, bool? autoLink})
Create a Heading with the provided level.
factory

Properties

args ↔ Map<String, String?>?
getter/setter pairinherited
autoID ↔ bool
getter/setter pair
getter/setter pair
children ↔ Iterable<Element>
getter/setter pairinherited
classes ↔ Iterable<String>?
getter/setter pairinherited
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
final
modifiers → String
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

autoLinkClass ↔ String
Override this if you want the automatic links to have a different class. Set to an empty string to disable the entire auto-link feature.
getter/setter pair
autoLinkElement ↔ Element
Override this if you want to display something else than a 🔗 as the link.
getter/setter pair