SingleChildStatefulWidget class abstract
A StatefulWidget built around a child, as a SingleChildStatelessWidget is: its state is a SingleChildState.
- Inheritance
-
- Object
- Widget
- StatefulWidget
- SingleChildStatefulWidget
- Implemented types
- Implementers
Constructors
- SingleChildStatefulWidget({Key? key, Widget? child})
-
A widget around
child, or around the one a MultiProvider gives it.const
Properties
Methods
-
createElement(
) → StatefulElement -
Inflates this widget into a new element for the tree.
inherited
-
createState(
) → State< StatefulWidget> -
Creates the state of a new element; it lives as long as the element.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Adds what describes this widget in its element's description
(Element.describe) to
properties, those not worth showing (a default) left out; an override calls this first. A render object widget adds only what its render object does not show. Only Element.describe calls it: a frame never does.inherited -
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