Skip to content

StatePanelExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for creating .

csharp
public static class StatePanelExtensions

Inheritance

ObjectStatePanelExtensions

Methods

StatePanel<TParent>(WidgetContext<TParent>, object, Func<StatePanelContext, Hex1bWidget>)

Creates an identity-anchored state panel. The state object's reference identity determines which node is reused across reconciliation frames, enabling state preservation across list reorders.

Parameters:

Returns: StatePanelWidget

csharp
public static StatePanelWidget StatePanel<TParent>(this WidgetContext<TParent> ctx, object stateKey, Func<StatePanelContext, Hex1bWidget> builder) where TParent : Hex1bWidget

Released under the MIT License.