module_retention_strategy#
Classes#
| Class | Description |
|---|---|
| KeepAliveRetentionStrategy | Retention strategy for ModuleRetentionPolicy.keepAlive . |
| ModuleRetentionBinding | Binding object that connects a ModuleRetentionStrategy to the widget tree, the ModuleRetainer cache, and the active ModuleController . |
| ModuleRetentionStrategy | Base class for module retention strategies that govern when a ModuleController is reused, created, and disposed. |
| RouteBoundRetentionStrategy | Retention strategy for ModuleRetentionPolicy.routeBound . |
| StrictRetentionStrategy | Retention strategy for ModuleRetentionPolicy.strict . |
Functions#
| Function | Description |
|---|---|
| buildStrategy |
Create the appropriate
ModuleRetentionStrategy
for the given
policy
and
binding
.
|
Typedefs#
| Typedef | Description |
|---|---|
| ControllerGetter |
Signature for a function that returns the current
ModuleController
, or
null
if none is attached.
|
| ControllerRelease | Signature for a function that releases (and optionally disposes) the current ModuleController . |