EdgeInsets.only constructor

const EdgeInsets.only({
  1. Dim? top,
  2. Dim? right,
  3. Dim? bottom,
  4. Dim? left,
})

Creates spacing with only the specified sides set.

Implementation

const EdgeInsets.only({
  this.top,
  this.right,
  this.bottom,
  this.left,
});