Node class
The base rendering tree node.
Constructors
- Node()
Properties
-
attributes
→ Map<
String, String> -
Attributes are copied from the corresponding parsed tree
during tree building.
final
-
children
→ List<
Renderable> -
Node's children
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addChild(
Node node) → void - Adds a child text node
-
addText(
String text) → void - Adds a child text node
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Context context) → String - Renders all children and returns concatenated output.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited