EasyWidgetExtensions extension
Extension on Widget to provide layout utilities.
- on
Methods
-
center(
) → Widget -
Available on Widget, provided by the EasyWidgetExtensions extension
Centers the widget inside aCenterwidget. -
marginAll(
double value) → Widget -
Available on Widget, provided by the EasyWidgetExtensions extension
Wraps the widget inside aContainerwith margin. -
marginOnly(
{double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) → Widget -
Available on Widget, provided by the EasyWidgetExtensions extension
Adds margin to specific sides. -
marginSymmetric(
{double horizontal = 0.0, double vertical = 0.0}) → Widget -
Available on Widget, provided by the EasyWidgetExtensions extension
Adds symmetric margin for horizontal and vertical. -
paddingAll(
double value) → Widget -
Available on Widget, provided by the EasyWidgetExtensions extension
Adds equal padding on all sides. -
paddingOnly(
{double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) → Widget -
Available on Widget, provided by the EasyWidgetExtensions extension
Adds padding to specific sides. -
paddingSymmetric(
{double horizontal = 0.0, double vertical = 0.0}) → Widget -
Available on Widget, provided by the EasyWidgetExtensions extension
Adds symmetric padding for horizontal and vertical.