TTableHeader constructor
const
TTableHeader({
- Key? key,
- String buttonText = 'Create',
- VoidCallback? onCreatePressed,
- TextEditingController? searchController,
- ValueChanged<
String> ? onSearchChanged, - ValueChanged<
String> ? onSearchSubmitted, - bool showCreateButton = true,
- double? width,
- List<
Widget> actions = const [], - List<
Widget> filters = const [], - VoidCallback? onSort,
- VoidCallback? onPrintTable,
- VoidCallback? onDownloadCSV,
- String? sortLabel,
- bool showSortButton = false,
- bool showDownloadCSVButton = true,
- bool showPrintTableButton = true,
Implementation
const TTableHeader({
super.key,
this.buttonText = 'Create',
this.onCreatePressed,
this.searchController,
this.onSearchChanged,
this.onSearchSubmitted,
this.showCreateButton = true,
this.width,
this.actions = const [],
this.filters = const [],
this.onSort,
this.onPrintTable,
this.onDownloadCSV,
this.sortLabel,
this.showSortButton = false,
this.showDownloadCSVButton = true,
this.showPrintTableButton = true,
});