selectedRowCountTitle method

  1. @override
String selectedRowCountTitle (int selectedRowCount)
override

Title for the PaginatedDataTable's selected row count header.

Implementation

@override
String selectedRowCountTitle(int selectedRowCount) {
  return intl.Intl.pluralLogic(
    selectedRowCount,
    zero: selectedRowCountTitleZero,
    one: selectedRowCountTitleOne,
    two: selectedRowCountTitleTwo,
    few: selectedRowCountTitleFew,
    many: selectedRowCountTitleMany,
    other: selectedRowCountTitleOther,
    locale: _localeName,
  ).replaceFirst(r'$selectedRowCount', formatDecimal(selectedRowCount));
}