selectedRowCountTitle method Null safety
- int selectedRowCount
override
Title for the PaginatedDataTable's selected row count header.
Implementation
@override
String selectedRowCountTitle(int selectedRowCount) {
switch (selectedRowCount) {
case 0:
return 'No items selected';
case 1:
return '1 item selected';
default:
return '$selectedRowCount items selected';
}
}