WidgetExt extension
Provides generic widget utilities.
- on
Methods
-
bottom(
) → Widget - Aligns this widget to the bottom.
-
center(
) → Widget - Aligns this widget to the top.
-
left(
) → Widget - Aligns this widget to the left.
-
right(
) → Widget - 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 providepadding
to the stretched widget. -
top(
) → Widget - Aligns this widget to the top.