FrameInsets constructor

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

Creates explicit edge insets.

Implementation

const FrameInsets({
  this.left = 0,
  this.top = 0,
  this.right = 0,
  this.bottom = 0,
}) : assert(left >= 0),
     assert(top >= 0),
     assert(right >= 0),
     assert(bottom >= 0);