SpacingWidget extension

Extension to add spacing to any Widget.

on

Methods

paddingAll(double space) Widget
Equal padding on all sides.
paddingBottom(double space) Widget
Padding on bottom only.
paddingEnd(double space) Widget
Padding on start edge only. Is affected by whether the device is LTR or RTL:
paddingHorizontal(double space) Widget
Equal padding on start and end.
paddingStart(double space) Widget
Padding on start edge only. Is affected by whether the device is LTR or RTL:
paddingTop(double space) Widget
Padding on top only.
paddingVertical(double space) Widget
Equal padding on top and bottom.