Border.all constructor

Border.all({
  1. PdfColor color = PdfColors.black,
  2. double width = 1.0,
  3. BorderStyle style = BorderStyle.solid,
})

A uniform border with all sides the same color and width.

Implementation

factory Border.all({
  PdfColor color = PdfColors.black,
  double width = 1.0,
  BorderStyle style = BorderStyle.solid,
}) =>
    Border.fromBorderSide(
      BorderSide(color: color, width: width, style: style),
    );