StatefulWidget<T>

Abstract Class
Base class of widgets that maintain state.

The behavior of a StatefulWidget is defined by its State object.

Constructors

StatefulWidget(key: Key, constants: object[], modifiers: IReadOnlyCollection<Modifier>)

Methods

CreateElement(): IWidgetElement
Creates a new IWidgetElement for the given widget configuration.
RemarksUsually, this will create an instance of an IWidgetElement and then call Widget.ReconcileInto to perform the initial reconciliation after that element gets attached to its parent and the panel.
CreateState(): State<T>

Inherited Members

Extension Methods

ToDiagnosticsNodeSafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTightStretchTightVisibilityWithModifierToBuildableToFactoryDescribeIdentityShortHashToStringNullable

On this page