Supports imperatively loading and binding new components at runtime.

NOTE: This class is soft deprecated. It is highly recommended to instead use ComponentLoader, which is a nearly identical synchronous API that is much more optimized and will be supported long-term.

Annotations

Constructors

SlowComponentLoader(ComponentLoader _loader, ComponentResolver _resolver)
const

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

load(Type type, Injector injector) → Future<ComponentRef>
Creates and loads a new instance of the component defined by type. [...]
loadNextToLocation(Type type, ViewContainerRef location, [ Injector injector ]) → Future<ComponentRef>
Creates and loads a new instance of component type next to location. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(other) → bool
The equality operator. [...]
inherited