Border constructor

const Border({
  1. Object width = 1,
  2. Object color = 'currentColor',
  3. String style = 'solid',
  4. BorderSide? top,
  5. BorderSide? right,
  6. BorderSide? bottom,
  7. BorderSide? left,
})

Creates a border shorthand value or directional border.

Implementation

const Border({
  this.width = 1,
  this.color = 'currentColor',
  this.style = 'solid',
  this.top,
  this.right,
  this.bottom,
  this.left,
});