State<T extends StatefulWidget> class abstract

The base class for the state of StatefulWidget.

Inheritance
Mixed in types

Constructors

State()

Properties

context Context
no setter
hashCode int
The hash code for this object.
no setterinherited
isMounted bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widget → T
Gets the current widget to which the state is attached to.
no setter

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