TablePlus constructor
const
TablePlus({
- Key? key,
- List<
Widget> ? srchCtrl, - required bool isExportCSVEnabled,
- required bool isSearchEnabled,
- required List<
DataColumn> columns, - int? sortColumnIndex,
- bool sortAscending = true,
- ValueSetter<
bool?> ? onSelectAll, - Decoration? decoration,
- MaterialStateProperty<
Color?> ? dataRowColor, - double? dataRowHeight,
- TextStyle? dataTextStyle,
- MaterialStateProperty<
Color?> ? headingRowColor, - double? headingRowHeight,
- TextStyle? headingTextStyle,
- double? horizontalMargin,
- double? columnSpacing,
- bool showCheckboxColumn = true,
- bool showBottomBorder = false,
- double? dividerThickness,
- required List<
DataRow> rows, - double? checkboxHorizontalMargin,
- TableBorder? border,
- required List dataValues,
- required List<
String> tabelHeadingList, - String? exportFileName = "MyTableFile",
Implementation
const TablePlus(
{Key? key,
this.srchCtrl,
required this.isExportCSVEnabled,
required this.isSearchEnabled,
required this.columns,
this.sortColumnIndex,
this.sortAscending = true,
this.onSelectAll,
this.decoration,
this.dataRowColor,
this.dataRowHeight,
this.dataTextStyle,
this.headingRowColor,
this.headingRowHeight,
this.headingTextStyle,
this.horizontalMargin,
this.columnSpacing,
this.showCheckboxColumn = true,
this.showBottomBorder = false,
this.dividerThickness,
required this.rows,
this.checkboxHorizontalMargin,
this.border,
required this.shareWidget,
required this.dataValues,
required this.tabelHeadingList,
this.exportFileName = "MyTableFile"})
: super(key: key);