Spacing.only constructor

const Spacing.only(
  1. {int left = 0,
  2. int top = 0,
  3. int right = 0,
  4. int bottom = 0}
)

Creates spacing where only the given values are non-zero.

Implementation

const Spacing.only({
  this.left = 0,
  this.top = 0,
  this.right = 0,
  this.bottom = 0,
});