SpacingHelpers extension
- on
Methods
-
allInsets(
Spacing spacing) → EdgeInsets -
Available on BuildContext, provided by the SpacingHelpers extension
Creates a EdgeInsets with itsEdgeInsets.allset tospacing -
horizontalBox(
Spacing spacing) → SizedBox -
Available on BuildContext, provided by the SpacingHelpers extension
Creates a SizedBox with itswidthset tospacing -
onlyInsets(
Spacing spacing, {bool left = false, bool top = false, bool right = false, bool bottom = false}) → EdgeInsets -
Available on BuildContext, provided by the SpacingHelpers extension
Creates a EdgeInsets with itsEdgeInsets.onlyby applying thespacingto thetruearguments -
rawSpacing(
Spacing spacing) → double -
Available on BuildContext, provided by the SpacingHelpers extension
The current raw value associated with thespacing -
symmetricInsets(
{Spacing? horizontal, Spacing? vertical}) → EdgeInsets -
Available on BuildContext, provided by the SpacingHelpers extension
Creates a EdgeInsets with itsEdgeInsets.symmetricby applying the respectivehorizontalandverticalspacings -
verticalBox(
Spacing spacing) → SizedBox -
Available on BuildContext, provided by the SpacingHelpers extension
Creates a SizedBox with itsheightset tospacing