HookState<T, H extends Hook<T> > class
abstract
Long-lived object representing entirety of the internal state of a Hook.
- Mixed in types
- Implementers
Constructors
Properties
- context ↔ HookContext
-
The HookContext in which this HookState is used.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- hook ↔ H
-
The current Hook of this HookState.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → T - Build the current value of this HookState.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
debugMarkWillReassemble(
) → void - Signals that the next build will be a reassemble.
-
didUpdate(
H oldHook) → void - Prepare this HookState for a build with new hook.
-
dispose(
) → void - Cleanup this HookState.
-
init(
) → void - Initialize this HookState.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited