HCenter
Class
Constructors
Creates a widget that tries to center its child using flex layouting.
RemarksYou may use this widget with a collection initializer to specify the child.
Parameters
child:
Widget - The child widget to center.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.
Inherited Members
Extension Methods
To Diagnostics Node SafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTight StretchTightVisibilityWith ModifierTo BuildableTo FactorySpreadDescribe IdentityShort HashTo String Nullable