Border.all constructor

const Border.all({
  1. required Color color,
  2. double width = 1,
})

Implementation

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