TableBorder constructor Null safety

const TableBorder(
  1. {BorderSide top = BorderSide.none,
  2. BorderSide right = BorderSide.none,
  3. BorderSide bottom = BorderSide.none,
  4. BorderSide left = BorderSide.none,
  5. BorderSide horizontalInside = BorderSide.none,
  6. BorderSide verticalInside = BorderSide.none,
  7. BorderRadius borderRadius = BorderRadius.zero}
)

Creates a border for a table.

All the sides of the border default to BorderSide.none.

Implementation

const TableBorder({
  this.top = BorderSide.none,
  this.right = BorderSide.none,
  this.bottom = BorderSide.none,
  this.left = BorderSide.none,
  this.horizontalInside = BorderSide.none,
  this.verticalInside = BorderSide.none,
  this.borderRadius = BorderRadius.zero,
});