const
DataTable(- {Key? key,
- required List<DataColumn> columns,
- int? sortColumnIndex,
- bool sortAscending,
- Callback? onSelectAll,
- Callback? onDeselectAll,
- Decoration? decoration,
- MaterialStateProperty? dataRowColor,
- double? dataRowHeight,
- TextStyle? dataTextStyle,
- MaterialStateProperty? headingRowColor,
- double? headingRowHeight,
- TextStyle? headingTextStyle,
- double? horizontalMargin,
- double? columnSpacing,
- bool showCheckboxColumn,
- bool showBottomBorder,
- double? dividerThickness,
- required List<DataRow> rows,
- double? checkboxHorizontalMargin,
- TableBorder? border,
- Clip clipBehavior}
)
Implementation
const factory DataTable(
{final Key? key,
required final List<DataColumn> columns,
final int? sortColumnIndex,
final bool sortAscending,
final Callback? onSelectAll,
final Callback? onDeselectAll,
final Decoration? decoration,
final MaterialStateProperty? dataRowColor,
final double? dataRowHeight,
final TextStyle? dataTextStyle,
final MaterialStateProperty? headingRowColor,
final double? headingRowHeight,
final TextStyle? headingTextStyle,
final double? horizontalMargin,
final double? columnSpacing,
final bool showCheckboxColumn,
final bool showBottomBorder,
final double? dividerThickness,
required final List<DataRow> rows,
final double? checkboxHorizontalMargin,
final TableBorder? border,
final Clip clipBehavior}) = _$DataTable;