ControllerRef<T extends ZenController> class
Special reference for controllers with additional lifecycle features
- Implemented types
-
- Ref<
T>
- Ref<
Constructors
- ControllerRef.new({String? tag, ZenScope? scope})
-
const
Properties
Methods
-
delete(
{bool force = false}) → bool -
Delete the controller
override
-
exists(
) → bool -
Check if controller exists
override
-
find(
) → T -
Get the controller instance (throws if not found)
override
-
findOrNull(
) → T? -
Get the controller if it exists, otherwise null
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
T controller, {bool isPermanent = false}) → T - Register a controller instance
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited