ChildSlotRenderObject class
The render object of a ChildSlot, which renders its children into part of the DOM nodes of a SlottedChildView.
Create one in ChildSlot.createRenderObject, with the view's render object as its parent.
- Inheritance
-
- Object
- DomRenderObject
- ChildSlotRenderObject
- Implemented types
Constructors
- ChildSlotRenderObject(Element node, DomRenderObject parent)
-
Creates a slot that renders its children as the content of
node, hydrating the child nodesnodealready has. - ChildSlotRenderObject.between(DomRenderObject parent, Node start, Node end)
-
Creates a slot that renders its children between the sibling nodes
startandend, hydrating the nodes already between them.
Properties
- attachTargetNode → Node
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- node → Element
-
The element this slot renders its children into.
final
- parent ↔ DomRenderObject?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toHydrate
↔ List<
Node> -
List of nodes that are not hydrated yet.
These nodes will be removed when the render object is finalized.
getter/setter pairinherited
Methods
-
attach(
covariant DomRenderObject child, {covariant DomRenderObject? after}) → void -
override
-
attachChild(
DomRenderObject child, DomRenderObject? after, {Node? startNode}) → void -
inherited
-
createChildRenderElement(
String tag) → RenderElement -
inherited
-
createChildRenderFragment(
) → RenderFragment -
inherited
-
createChildRenderText(
String text) → RenderText -
inherited
-
dispose(
) → void -
Releases the resources this render object holds,
such as event listeners added to its node.
inherited
-
finalize(
) → void -
inherited
-
getRealNodeOf(
DomRenderObject? after) → Node? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
covariant DomRenderObject child) → void -
override
-
removeChild(
DomRenderObject child) → void -
inherited
-
retakeNode(
bool visitNode(Node node)) → Node? -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited