PortalManager class

Portal Manager service for handling content teleportation between screen hosts

This service provides a general-purpose content management system that allows any wrapper component (modal, alert, popover, etc.) to own and manage its content without component-specific hacks in the VDOM or bridge.

Portal system but adapted for DCFlight's architecture.

Constructors

PortalManager()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
registeredHosts List<String>
Get list of all registered hosts (for debugging)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addToScreen(String hostName, String screenId, DCFComponentNode content) → void
Add content to a screen host
clearHost(String hostName) → void
Clear all content for a host (for cleanup)
getScreenContent(String hostName) List<DCFComponentNode>
Get all content for a specific host
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerHost(String hostName, void onUpdate()) → void
Register a screen host with the manager
removeFromScreen(String hostName, String screenId) → void
Remove content from a screen host
toString() String
A string representation of this object.
inherited
unregisterHost(String hostName) → void
Unregister a screen host from the manager

Operators

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