TextNode class final

Inheritance
Available Extensions
Annotations

Constructors

TextNode({required Delta delta, Iterable<Node>? children, Attributes? attributes})
TextNode.empty({Attributes? attributes})

Properties

attributes Attributes
no setterinherited
children List<Node>
no setterinherited
delta Delta
getter/setter pairoverride-getter
externalValues NodeExternalValues?
getter/setter pairinherited
extraInfos Map?
this value is used to store temporary data, and will be cleared after the node is rendered
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
id String
The id of the node.
finalinherited
key GlobalKey<State<StatefulWidget>>
finalinherited
finalinherited
list LinkedList<Node>?
The linked list containing this element.
no setterinherited
next Node?
The successor of this element in its linked list.
no setterinherited
parent Node?
The parent of the node.
getter/setter pairinherited
path Path
The path of the node.
no setterinherited
previous Node?
The predecessor of this element in its linked list.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtype String
no setteroverride
type String
The type of the node.
finalinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
checkDocumentIntegrity() → void
check the integrity of the document (for DEBUG only)
inherited
childAtIndexOrNull(int index) Node?
Grabs the Node from this Nodes children at a given index, if the index exists.
inherited
childAtPath(Path path) Node?
inherited
copyWith({String? type = 'text', Iterable<Node>? children, Attributes? attributes, Delta? delta, String? id}) TextNode
override
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
insert(Node entry, {int? index}) → void
Inserts a Node at a given index
inherited
insertAfter(Node entry) → void
Insert an element after this element in this element's linked list.
inherited
insertBefore(Node entry) → void
Insert an element before this element in this element's linked list.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → void
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
toJson() Map<String, Object>
override
toPlainText() String
toString() String
A string representation of this object.
inherited
Unlink the element from its linked list.
inherited
updateAttributes(Attributes attributes) → void
Update the attributes of the node.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited