SpacingWidget extension

Extension to add spacing to any Widget.

on

Methods

paddingAll(double space) Widget

Available on Widget, provided by the SpacingWidget extension

Equal padding on all sides.
paddingBottom(double space) Widget

Available on Widget, provided by the SpacingWidget extension

Padding on bottom only.
paddingEnd(double space) Widget

Available on Widget, provided by the SpacingWidget extension

Padding on start edge only. Is affected by whether the device is LTR or RTL:
paddingHorizontal(double space) Widget

Available on Widget, provided by the SpacingWidget extension

Equal padding on start and end.
paddingStart(double space) Widget

Available on Widget, provided by the SpacingWidget extension

Padding on start edge only. Is affected by whether the device is LTR or RTL:
paddingTop(double space) Widget

Available on Widget, provided by the SpacingWidget extension

Padding on top only.
paddingVertical(double space) Widget

Available on Widget, provided by the SpacingWidget extension

Equal padding on top and bottom.