HRow

Class
Represents a horizontally oriented flexible container widget.

Constructors

HRow(mainAxisAlign: Justify, crossAxisAlign: Align, gap: float, reverse: bool, children: IReadOnlyList<Widget>, key: Key, constants: object[], modifiers: IReadOnlyCollection<Modifier>)
Create a horizontally oriented flexible container widget.

Parameters

mainAxisAlign:Justify - The alignment along the main axis.
crossAxisAlign:Align - The alignment along the cross-axis.
gap:float - A fixed amount of spacing on the main axis between children.
reverse:bool - Whether to reverse the order of the children.
children:IReadOnlyList<Widget> - The children of this container.
key:Key - Passed on to Widget.key.
constants:object[] - Passed on to Widget.constants.
modifiers:IReadOnlyCollection<Modifier> - Passed on to Widget.modifiers.

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.

Inherited Members

Extension Methods

ToDiagnosticsNodeSafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTightStretchTightVisibilityWithModifierToBuildableToFactorySpreadDescribeIdentityShortHashToStringNullable

On this page