SingleChildStatefulComponent class abstract
A StatefulComponent
that is compatible with Nested.
- Implemented types
- Implementers
Constructors
- SingleChildStatefulComponent({Key? key, Component? child})
-
Creates a component that has exactly one child component.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one component replaces another component in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → SingleChildStatefulElement -
Creates a
StatefulElement
to manage this component's location in the tree. -
createState(
) → State< StatefulComponent> -
Creates the mutable state for this component at a given location in the tree.
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