HFlex
Class
Implements
I Diagnosticable TreeI DiagnosticableI Widget List CandidateIReadOnlyList <Widget>IReadOnlyCollection <Widget>IEnumerable <Widget>I EnumerableFields
Constructors
HFlex(axis: Axis, crossAxisAlign: Align, mainAxisAlign: Justify, wrapAlign: Nullable <Align>, reverse: bool, wrapReverse: bool, wrap: bool, children: IReadOnlyList <Widget>, key: Key, constants: object[], modifiers: IReadOnlyCollection <Modifier>)
Represents a flexible layout widget that arranges its child widgets along a specified axis, with additional alignment, wrapping, and layout options.
Parameters
axis:
Axis - The axis along which the child widgets will be arranged.crossAxisAlign:
Align - The alignment along the cross-axis.mainAxisAlign:
Justify - The alignment along the main axis.wrapAlign:
Nullable <Align> - The cross-axis alignment used when wrapping.
Defaults to crossAxisAlign.reverse:
bool - Whether to reverse the order of the children.wrapReverse:
bool - Whether to wrap the child widgets in reverse order.wrap:
bool - Whether to enable wrapping.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(): I Widget Element
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.
DebugFillProperties(properties: Diagnostic Properties Builder): void
Inherited Members
Extension Methods
To Diagnostics Node SafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTight StretchTightVisibilityWith ModifierTo BuildableTo FactorySpreadDescribe IdentityShort HashTo String Nullable