WidgetExt extension

Provides generic widget utilities.

on

Methods

bottom() → Widget

Available on Widget, provided by the WidgetExt extension

Aligns this widget to the bottom.
center() → Widget

Available on Widget, provided by the WidgetExt extension

Aligns this widget to the top.
left() → Widget

Available on Widget, provided by the WidgetExt extension

Aligns this widget to the left.

Available on Widget, provided by the WidgetExt extension

Aligns this widget to the right.
stretch([EdgeInsets? padding]) → Widget

Available on Widget, provided by the WidgetExt extension

Stretches this widget to fill the available horizontal space. Optionally, you can provide padding to the stretched widget.
top() → Widget

Available on Widget, provided by the WidgetExt extension

Aligns this widget to the top.