Text class Null safety

Inheritance
Implementers

Constructors

Text(String data)
factory

Properties

assignedSlot SlotElement?
read-only
baseUri String?
read-only, inherited
childNodes List<Node>
A list of this node's children. [...]
read-only, inherited
data String?
read / write, inherited
firstChild Node?
The first child of this node. [...]
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isConnected bool?
read-only, inherited
lastChild Node?
The last child of this node. [...]
read-only, inherited
length int?
read-only, inherited
nextElementSibling Element?
read-only, inherited
nextNode Node?
The next sibling node. [...]
read-only, inherited
nodeName String?
The name of this node. [...]
read-only, inherited
nodes List<Node>
A modifiable list of this node's children.
read / write, inherited
nodeType int
The type of node. [...]
read-only, inherited
nodeValue String?
The value of this node. [...]
read-only, inherited
on Events
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited
ownerDocument Document?
The document this node belongs to. [...]
read-only, inherited
parent Element?
The parent element of this node. [...]
read-only, inherited
parentNode Node?
The parent node of this node. [...]
read-only, inherited
previousElementSibling Element?
read-only, inherited
previousNode Node?
The previous sibling node. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String?
All text within this node and its descendents. [...]
read / write, inherited
wholeText String
read-only

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
after(Object nodes) → void
inherited
append(Node node) Node
Adds a node to the end of the child nodes list of this node. [...]
inherited
appendData(String data) → void
inherited
before(Object nodes) → void
inherited
clone(bool? deep) Node
Returns a copy of this node. [...]
inherited
contains(Node? other) bool
Returns true if this node contains the specified node. [...]
inherited
deleteData(int offset, int count) → void
inherited
dispatchEvent(Event event) bool
inherited
getDestinationInsertionPoints() List<Node>
getRootNode([Map? options]) Node
inherited
hasChildNodes() bool
Returns true if this node has any children. [...]
inherited
insertAllBefore(Iterable<Node> newNodes, Node refChild) → void
Inserts all of the nodes into this node directly before refChild. [...]
inherited
insertBefore(Node node, Node? child) Node
Inserts all of the nodes into this node directly before refChild. [...]
inherited
insertData(int offset, String data) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove() → void
Removes this node from the DOM.
inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
replaceData(int offset, int count, String data) → void
inherited
replaceWith(Node otherNode) Node
Replaces this node with another node.
inherited
splitText(int offset) Text
substringData(int offset, int count) String
inherited
toString() String
Print out a String representation of this Node.
inherited

Operators

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