Border.all constructor

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

Creates a border for all sides.

Implementation

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