A RenderAdapter that wraps the rendered output of element in a ChildGroup, such as to surround it with markers.
Boundaries around the same output nest by element depth, so the boundary of an ancestor encloses those of its descendants.
- Inheritance
-
- Object
- RenderAdapter
- ElementBoundaryAdapter
Constructors
- ElementBoundaryAdapter(Element element, {int priority = 0})
-
Creates an adapter for the boundary around
element's output.
Properties
- binding ↔ ServerAppBinding
-
The binding this adapter was added to with ServerAppBinding.addRenderAdapter.
getter/setter pairinherited
- element → Element
-
The element whose rendered output this boundary wraps.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- priority → int
-
The order of this boundary among the boundaries around the same element.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply(
MarkupRenderObject root) → void -
Called once all adapters are prepared, to change the markup of
root.override -
applyBoundary(
ChildGroup group) → void -
Called with the same
groupas prepareBoundary, once all adapters are prepared. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepare(
) → FutureOr< void> -
Called once the component tree is built, before any adapter is applied.
override
-
prepareBoundary(
ChildGroup group) → void - Called with the group wrapping element's output, before any adapter is applied.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- clientComponentBoundaryPriority → const int
- The priority of the boundary around a @client component.
- serverComponentBoundaryPriority → const int
- The priority of the boundary around a server component.