Node class abstract

Inheritance
Implemented types
Implementers

Constructors

Node(NodeType nodeType, [BindingContext? context])

Properties

childNodes List<Node>
getter/setter pair
children List<Element>
no setter
contextId int?
no setterinherited
disposed bool
no setterinherited
eventPath List<EventTarget>
no setterinherited
firstChild Node
no setter
flutterElement KrakenElementToFlutterElementAdaptor?
getter/setter pair
flutterWidget KrakenElementToWidgetAdaptor?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isConnected bool
no setter
isRendererAttached bool
no setter
lastChild Node
no setter
nextSibling Node?
no setter
nodeName String
no setter
nodeType NodeType
getter/setter pair
ownerDocument Document
getter/setter pair
parentElement Element?
The Node.parentElement read-only property returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element.
no setter
parentEventTarget EventTarget?
no setteroverride
parentNode Node?
The Node.parentNode read-only property returns the parent of the specified node in the DOM tree.
getter/setter pair
pointer → dynamic
no setterinherited
previousSibling Node?
no setter
renderer RenderBox?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(String eventType, EventHandler eventHandler) → void
inherited
appendChild(Node child) Node
attachTo(Element parent, {RenderBox? after}) → void
Attach a renderObject to parent.
childrenChanged() → void
connectedCallback() → void
override
contains(Node child) bool
createRenderer() RenderBox
Creates an instance of the RenderObject class that this RenderObjectNode represents, using the configuration described by this RenderObjectNode.
override
didAttachRenderer() → void
override
didDetachRenderer() → void
override
disconnectedCallback() → void
override
dispatchEvent(Event event) → void
override
dispose() → void
Release any resources held by this node.
override
ensureChildAttached() → void
Ensure child and child's child render object is attached.
getBindingProperty(String key) → dynamic
inherited
getEventHandlers() Map<String, List<EventHandler>>
inherited
hasEventListener(String type) bool
inherited
insertBefore(Node child, Node referenceNode) Node
invokeBindingMethod(String method, List args) → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeChild(Node child) Node
removeEventListener(String eventType, EventHandler eventHandler) → void
inherited
replaceChild(Node newNode, Node oldNode) Node?
setBindingProperty(String key, dynamic value) → void
inherited
toString() String
A string representation of this object.
inherited
unmountRenderObject({bool deep = false}) → void
Unmount referenced render object.
willAttachRenderer() → void
The renderObject will be / has been insert into parent. You can apply properties to renderObject.
override
willDetachRenderer() → void
A render object previously associated with this Node will be / has been removed from the tree. The given RenderObject will be of the same type as returned by this object's createRenderer.
override

Operators

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