TableBorder constructor Null safety

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

Implementation

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