Portal<T> class
abstract
Dynamic content that can be inserted into a host container.
- Implementers
Constructors
- Portal()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAttached → bool
-
Returns true if this portal is in the process of being attached but the
host has not loaded it yet or if the host has already loaded it.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attach(
PortalHost? host) → Future -
Attaches the portal within
host
. -
clone(
) → Portal< T> - Creates a copy of this portal that can also be attached.
-
detach(
) → Future< void> - Detaches the portal if attached to a host.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAttachedHost(
PortalHost? host) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited