TextNodeV0 class final

Inheritance

Constructors

TextNodeV0({required Delta delta, LinkedList<NodeV0>? children, Attributes? attributes})
TextNodeV0.empty({Attributes? attributes})

Properties

attributes Attributes
no setterinherited
children LinkedList<NodeV0>
finalinherited
delta Delta
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
id String
no setterinherited
key GlobalKey<State<StatefulWidget>>
finalinherited
finalinherited
list LinkedList<NodeV0>?
The linked list containing this element.
no setterinherited
next NodeV0?
The successor of this element in its linked list.
no setterinherited
parent NodeV0?
getter/setter pairinherited
path Path
no setterinherited
previous NodeV0?
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 setterinherited
type String
finalinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
childAtIndex(int index) NodeV0?
inherited
childAtPath(Path path) NodeV0?
inherited
copyWith({String? type = 'text', LinkedList<NodeV0>? children, Attributes? attributes, Delta? delta}) TextNodeV0
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(NodeV0 entry, {int? index}) → void
inherited
insertAfter(NodeV0 entry) → void
Insert an element after this element in this element's linked list.
inherited
insertBefore(NodeV0 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
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
inherited

Operators

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