WidgetMarginX extension
Extension methods for adding margin to widgets
- on
Properties
- marginZero → Widget
-
Available on Widget, provided by the WidgetMarginX extension
No margin (for consistency/readability)no setter
Methods
-
marginAll(
double margin) → Widget -
Available on Widget, provided by the WidgetMarginX extension
Add equal margin to all sides -
marginOnly(
{double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) → Widget -
Available on Widget, provided by the WidgetMarginX extension
Add margin with custom sides -
marginSymmetric(
{double horizontal = 0.0, double vertical = 0.0}) → Widget -
Available on Widget, provided by the WidgetMarginX extension
Add symmetric margin