selectedRowCountTitle method

  1. @override
String selectedRowCountTitle(
  1. int selectedRowCount
)
override

Title for the PaginatedDataTable's selected row count header.

Implementation

@override
String selectedRowCountTitle(int selectedRowCount) {
  return switch (selectedRowCount) {
    0 => 'No items selected',
    1 => '1 item selected',
    _ => '$selectedRowCount items selected',
  };
}