AlignExtension extension

Extension on Widget to provide convenient alignment methods.

on

Properties

bottomCenter Align

Available on Widget, provided by the AlignExtension extension

Aligns the child widget to the bottom-center of its parent.
no setter
bottomLeft Align

Available on Widget, provided by the AlignExtension extension

Aligns the child widget to the bottom-left corner of its parent.
no setter
bottomRight Align

Available on Widget, provided by the AlignExtension extension

Aligns the child widget to the bottom-right corner of its parent.
no setter
centerLeft Align

Available on Widget, provided by the AlignExtension extension

Aligns the child widget to the center-left of its parent.
no setter
centerRight Align

Available on Widget, provided by the AlignExtension extension

Aligns the child widget to the center-right of its parent.
no setter
topCenter Align

Available on Widget, provided by the AlignExtension extension

Aligns the child widget to the top-center of its parent.
no setter
topLeft Align

Available on Widget, provided by the AlignExtension extension

Aligns the child widget to the top-left corner of its parent.
no setter
topRight Align

Available on Widget, provided by the AlignExtension extension

Aligns the child widget to the top-right corner of its parent.
no setter

Methods

align([Alignment alignment = Alignment.center]) Align

Available on Widget, provided by the AlignExtension extension

Aligns the child widget within its parent.