TablePlus constructor

const TablePlus({
  1. Key? key,
  2. List<Widget>? srchCtrl,
  3. required bool isExportCSVEnabled,
  4. required bool isSearchEnabled,
  5. required List<DataColumn> columns,
  6. int? sortColumnIndex,
  7. bool sortAscending = true,
  8. ValueSetter<bool?>? onSelectAll,
  9. Decoration? decoration,
  10. MaterialStateProperty<Color?>? dataRowColor,
  11. double? dataRowHeight,
  12. TextStyle? dataTextStyle,
  13. MaterialStateProperty<Color?>? headingRowColor,
  14. double? headingRowHeight,
  15. TextStyle? headingTextStyle,
  16. double? horizontalMargin,
  17. double? columnSpacing,
  18. bool showCheckboxColumn = true,
  19. bool showBottomBorder = false,
  20. double? dividerThickness,
  21. required List<DataRow> rows,
  22. double? checkboxHorizontalMargin,
  23. TableBorder? border,
  24. required Widget shareWidget,
  25. required List dataValues,
  26. required List<String> tabelHeadingList,
  27. 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);