SpacingHelpers extension

on

Methods

allInsets(Spacing spacing) EdgeInsets

Available on BuildContext, provided by the SpacingHelpers extension

Creates a EdgeInsets with its EdgeInsets.all set to spacing
horizontalBox(Spacing spacing) SizedBox

Available on BuildContext, provided by the SpacingHelpers extension

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

Available on BuildContext, provided by the SpacingHelpers extension

Creates a EdgeInsets with its EdgeInsets.only by applying the spacing to the true arguments
rawSpacing(Spacing spacing) double

Available on BuildContext, provided by the SpacingHelpers extension

The current raw value associated with the spacing
symmetricInsets({Spacing? horizontal, Spacing? vertical}) EdgeInsets

Available on BuildContext, provided by the SpacingHelpers extension

Creates a EdgeInsets with its EdgeInsets.symmetric by applying the respective horizontal and vertical spacings
verticalBox(Spacing spacing) SizedBox

Available on BuildContext, provided by the SpacingHelpers extension

Creates a SizedBox with its height set to spacing