Skip to content

HStackExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for building HStack widgets.

csharp
public static class HStackExtensions

Inheritance

ObjectHStackExtensions

Methods

HStack<TParent>(WidgetContext<TParent>, Func<WidgetContext<HStackWidget>, Hex1bWidget[]>)

Creates an HStack where the callback returns an array of children.

Parameters:

Returns: HStackWidget

csharp
public static HStackWidget HStack<TParent>(this WidgetContext<TParent> ctx, Func<WidgetContext<HStackWidget>, Hex1bWidget[]> builder) where TParent : Hex1bWidget

Released under the MIT License.