Hook class abstract
Base class for hooks.
Constructors
- Hook()
Properties
- context → BuildContext?
-
Get context from associated scope.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addHookEventListeners(
Map< HookEventType, HookEventCallback> listeners) → void - Register hook's scope event listeners.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performRebuild(
) → void - Tells framework to rebuild the hook's scope.
-
register(
) → void - Register hook.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited