VElement class

Inheritance

Constructors

VElement(String tagName)

Properties

attributes Map<String, Object>
final
children LinkedList<VNodeEntry>
final
disposed bool
getter/setter pairinherited
error Object?
getter/setter pairinherited
hasError bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isShadowRootUsed bool
no setter
key Object?
getter/setter pairinherited
kind VNodeKind
no setteroverride
listeners Map<String, void Function(Event event)>
final
node Node?
getter/setter pairinherited
parent VNode?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowRoot ShadowRoot?
no setter
stackTrace StackTrace?
getter/setter pairinherited
tagName String
final

Methods

dispose() → void
override
findErrorReport() ValueNotifier<ErrorReport?>?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(VNode newVNode, bool canDispose) → void
override
render(VNode newVNode, bool canDispose) VNode
Renders an existing (this) virtual node or a newly created newVNode node.
override
renderAndReplace(VNode? parent, Node node) → void
Renders a newly created (this) virtual node and replaces the content of node with the new content.
inherited
renderNew(VNode? parent) → void
Renders the newly created virtual node.
override
renderSafely<T>(T render()) → T
inherited
toString() String
A string representation of this object.
override
updateElement(Map<String, Object> oldAttributes, Map<String, Object> newAttributes, Map<String, void Function(Event event)> oldListeners, Map<String, void Function(Event event)> newListeners) → void
inherited
useShadowRoot() → void
Configures the virtual node to use shadow root.
wrapListener(void listener(Event event)?) → void Function(Event event)?
inherited

Operators

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