TableBorder.symmetric constructor

TableBorder.symmetric({
  1. BorderSide inside = BorderSide.none,
  2. BorderSide outside = BorderSide.none,
})

Creates a border for a table where all the interior sides use the same styling and all the exterior sides use the same styling.

Implementation

factory TableBorder.symmetric({
  BorderSide inside = BorderSide.none,
  BorderSide outside = BorderSide.none,
}) {
  return TableBorder(
    top: outside,
    right: outside,
    bottom: outside,
    left: outside,
    horizontalInside: inside,
    verticalInside: inside,
  );
}