Border constructor
const
Border({
- Object width = 1,
- Object color = 'currentColor',
- String style = 'solid',
- BorderSide? top,
- BorderSide? right,
- BorderSide? bottom,
- 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,
});