Border constructor

const Border({
  1. Object width = 1,
  2. required Object color,
  3. String style = 'solid',
})

Creates a border shorthand value.

Implementation

const Border({this.width = 1, required Object color, this.style = 'solid'})
  : color = color;