TableBorder.all constructor

TableBorder.all({
  1. String color = '000000',
  2. double width = 0.4,
})

Uniform border on every edge and divider.

Implementation

factory TableBorder.all({
  String color = '000000',
  double width = 0.4,
}) {
  final BorderSide side = BorderSide(color: color, width: width);
  return TableBorder(
    left: side,
    top: side,
    right: side,
    bottom: side,
    horizontalInside: side,
    verticalInside: side,
  );
}