Border.all constructor

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

Creates a border for all sides.

Implementation

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