StatelessWidget<T>

Abstract Class

Constructors

StatelessWidget(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.
Build(context: BuildContext): Widget
Builds the widget in the given context.

Parameters

context:BuildContext - The context in which to build the widget. This will be provided by the framework when building the widget tree.

Inherited Members

Extension Methods

ToDiagnosticsNodeSafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTightStretchTightVisibilityWithModifierToBuildableToFactoryDescribeIdentityShortHashToStringNullable

On this page