Border.all constructor

const Border.all({
  1. num width = 1,
  2. Color color = Colors.black,
})

Creates a solid border.

Implementation

const Border.all({this.width = 1, this.color = Colors.black});