SpacingHelpers extension
- on
Methods
-
allInsets(
Spacing spacing) → EdgeInsets -
Creates a EdgeInsets with its
EdgeInsets.all
set tospacing
-
horizontalBox(
Spacing spacing) → SizedBox -
Creates a SizedBox with its
width
set tospacing
-
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 thespacing
to thetrue
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 respectivehorizontal
andvertical
spacings -
verticalBox(
Spacing spacing) → SizedBox -
Creates a SizedBox with its
height
set tospacing