TableBorder constructor Null safety

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

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,
});