EdgeInsets.only constructor

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

Creates insets for each side.

Implementation

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