DCFComponentNode class abstract

Base class for all Virtual DOM nodes

Implementers

Constructors

DCFComponentNode({String? key})

Properties

contentViewId String?
The native view ID of the rendered content
getter/setter pair
effectiveNativeViewId String?
Get effective native view ID (may be from rendered content)
no setter
hashCode int
The hash code for this object.
no setterinherited
key String?
Unique identifier for this node
final
nativeViewId String?
Native view ID once rendered
getter/setter pair
parent DCFComponentNode?
Parent node in the virtual tree
getter/setter pair
renderedNode DCFComponentNode?
Get the rendered node (for component-like nodes)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() DCFComponentNode
Clone this node
componentDidMount() → void
Called when the node is mounted (lifecycle method)
componentWillUnmount() → void
Called when the node will unmount (lifecycle method)
equals(DCFComponentNode other) bool
Whether this node is equal to another
mount(DCFComponentNode? parent) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
unmount() → void

Operators

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