DomPortalHost class

An implementation of PortalHost that has an arbitrary DOM node as its container.

Inheritance

Constructors

DomPortalHost(HtmlElement _hostElement, AcxImperativeViewUtils _imperativeViewUtils)

Properties

hasAttached bool
True if the host has a portal attached within.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach(Portal<Object?>? portal) Future
Attaches portal.
inherited
attachComponentPortal(ComponentPortal<Object> portal) Future<ComponentRef<Object>>
override
attachTemplatePortal(TemplatePortal portal) Future<Map<String, dynamic>>
override
detach() Future<void>
Detaches any active portal.
inherited
dispose() → void
Disposes this disposable and any resources it has open.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setPortalDisposer(DisposeFunction fn) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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