LifeState class abstract
- Implementers
Constructors
Properties
-
getHookState
↔ ValueGetter<
LifeState> -
Equivalent of State.widget for
HookState
.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- mounted ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setState ↔ VoidCallback
-
Equivalent of State.setState for
HookState
.getter/setter pair
Methods
-
build(
) → void -
Called everytime the
HookState
is requested. build is where aHookState
may use other hooks. This restriction is made to ensure that hooks are always unconditionally requested. -
didUpdateState(
LifeState oldState) → void -
Equivalent of State.didUpdateWidget for
HookState
. -
dispose(
) → void -
Equivalent of State.dispose for
HookState
. -
initState(
) → void -
Equivalent of State.initState for
HookState
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited