HShapeButtonState

Class

Methods

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.
CanReconcile(oldWidget: HButton): bool
Called when the state is about to be rebuilt with a new widget configuration.

Parameters

oldWidget:HButton - The widget configuration before the rebuild. The current widget configuration is available through the widget property.

Returns

bool-Whether the state can be reused with the new widget configuration.
DidUpdateWidget(oldWidget: HButton): void
Called when the state is rebuilt with a new widget configuration.

Parameters

oldWidget:HButton - The widget configuration before the rebuild. The current widget configuration is available through the widget property.
InitState(): void
Called immediately before the first Build call to initialize the state.
RemarksSubscriptions and disposables should be created here and then properly disposed in Dispose if not automatically disposed using AddDisposable.

Inherited Members

dependencyTrackermountwidgetAddDisposableRemoveDisposableDisposeSetStateDebugFillPropertiesToStringShortToDiagnosticsNodeToStringEqualsGetHashCodeGetTypeMemberwiseCloneReferenceEquals

Extension Methods

ToDiagnosticsNodeSafeDescribeIdentityShortHashToStringNullable

On this page