State<T extends StatefulWidget> class
abstract
The base class for the state of StatefulWidget.
Constructors
- State()
Properties
Methods
-
build(
Context context) → Widget -
Returns the UI content to be painted on the screen.
inherited
-
didMount(
) → void - Called when the widget's subtree is completely added to the node tree (bottom to top).
-
dispose(
) → void - Called when the widget's subtree is completely removed from the node tree (bottom to top).
-
initialize(
) → void - Called when the widget is added to the node tree (top to bottom).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onUpdate(
void callback()) → StreamSubscription< void> -
callback
is called after setState has been called.inherited -
setState(
void callback()) → void -
Runs the
callback
and debounces a call to onUpdate.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
willUnmount(
) → void - Called when the widget is going to be removed from the node tree (top to bottom).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited