SpacingHelpers extension

on

Methods

allInsets(Spacing spacing) EdgeInsets
Creates a EdgeInsets with its EdgeInsets.all set to spacing
horizontalBox(Spacing spacing) SizedBox
Creates a SizedBox with its width set to spacing
onlyInsets(Spacing spacing, {bool left = false, bool top = false, bool right = false, bool bottom = false}) EdgeInsets
Creates a EdgeInsets with its EdgeInsets.only by applying the spacing to the true arguments
rawSpacing(Spacing spacing) double
The current raw value associated with the spacing
symmetricInsets({Spacing? horizontal, Spacing? vertical}) EdgeInsets
Creates a EdgeInsets with its EdgeInsets.symmetric by applying the respective horizontal and vertical spacings
verticalBox(Spacing spacing) SizedBox
Creates a SizedBox with its height set to spacing