Padding constructor

const Padding(
  1. {required Widget child,
  2. required Spacing spacing}
)

Creates a padding widget.

Implementation

const Padding({
  required this.child,
  required this.spacing,
});