Widget.table constructor Null safety

const Widget.table(
  1. {Key? key,
  2. @Default([]) List<TableRow> children,
  3. Map<int, TableColumnWidth>? columnWidths,
  4. @Default(FlexColumnWidth()) TableColumnWidth defaultColumnWidth,
  5. TextDirection? textDirection,
  6. TableBorder? border,
  7. @Default(TableCellVerticalAlignment.top) TableCellVerticalAlignment defaultVerticalAlignment,
  8. TextBaseline? textBaseline}
)

Implementation

const factory Widget.table({
  Key? key,
  @Default([]) List<TableRow> children,
  Map<int, TableColumnWidth>? columnWidths,
  @Default(FlexColumnWidth()) TableColumnWidth defaultColumnWidth,
  TextDirection? textDirection,
  TableBorder? border,
  @Default(TableCellVerticalAlignment.top)
      TableCellVerticalAlignment defaultVerticalAlignment,
  TextBaseline? textBaseline,
}) = Table;