withAllPadding method

Padding withAllPadding(
  1. BuildContext context,
  2. Spacing spacing
)

Uses the RawSpacings available in the context to wrap all insets of this widget in a Padding with the specific spacing

See also:

Implementation

Padding withAllPadding(BuildContext context, Spacing spacing) => Padding(
      padding: context.allInsets(spacing),
      child: this,
    );