FdcGridTranslations constructor

const FdcGridTranslations({
  1. String filters = 'Filters',
  2. String showFilters = 'Show filters',
  3. String hideFilters = 'Hide filters',
  4. String clearFilter = 'Clear filter',
  5. String clearFilters = 'Clear filters',
  6. String clearAllFilters = 'Clear all filters',
  7. String sorting = 'Sorting',
  8. String sortAscending = 'Sort ascending',
  9. String sortDescending = 'Sort descending',
  10. String addAscendingSort = 'Add ascending sort',
  11. String addDescendingSort = 'Add descending sort',
  12. String clearSort = 'Clear sort',
  13. String clearAllSorts = 'Clear all sorts',
  14. String columnPinning = 'Column pinning',
  15. String pinLeft = 'Pin to left',
  16. String pinRight = 'Pin to right',
  17. String unpin = 'Unpin',
  18. String unpinAllColumns = 'Unpin all columns',
  19. String resetGridLayout = 'Reset grid layout',
  20. String noActionsAvailable = 'No actions available',
  21. String mainMenu = 'Main menu',
  22. String export = 'Export',
  23. String exportTo(
    1. String formatLabel
    )?,
  24. String page = 'Page',
  25. String of = 'of',
  26. String noRangeFilter = 'No range filter',
  27. String rangeFrom = 'From',
  28. String rangeTo = 'To',
  29. String searchHint = 'Search...',
  30. String clearSearch = 'Clear search',
  31. String caseSensitiveSearchOn = 'Case sensitive search is on',
  32. String caseSensitiveSearchOff = 'Case sensitive search is off',
  33. String searchOptions = 'Search options',
  34. String searchAnyWord = 'Any word',
  35. String searchAllWords = 'All words',
  36. String searchExactPhrase = 'Exact phrase',
  37. String firstPage = 'First page',
  38. String previousPage = 'Previous page',
  39. String nextPage = 'Next page',
  40. String lastPage = 'Last page',
  41. String selected(
    1. int count
    )?,
  42. String valueOf(
    1. String value,
    2. String maximum
    )?,
  43. String rating = 'Rating',
  44. String trendNoData = 'Trend: No data',
  45. String trend(
    1. String formatLabel
    )?,
  46. String browse = 'Browse',
  47. String edit = 'Edit',
  48. String insert = 'Insert',
  49. String closed = 'Closed',
  50. String loading = 'Loading',
  51. String applyingUpdates = 'Applying updates',
  52. String openingDataset = 'Opening dataset',
  53. String loadingDataset = 'Loading dataset',
  54. String filteringDataset = 'Filtering dataset',
  55. String searchingDataset = 'Searching dataset',
  56. String sortingDataset = 'Sorting dataset',
  57. String datasetWork = 'Dataset work',
  58. String aggregateSum = 'Sum',
  59. String aggregateMin = 'Min',
  60. String aggregateMax = 'Max',
  61. String aggregateAvg = 'Avg',
  62. String state = 'State',
  63. String filtered = 'Filtered',
  64. String sorted = 'Sorted',
  65. String noRecords = '0 records',
  66. String record(
    1. int recordNumber,
    2. int? totalCount
    )?,
  67. String showSelectedRows = 'Show selected rows',
  68. String showUnselectedRows = 'Show unselected rows',
  69. String clearSelectionFilter = 'Clear selection filter',
  70. String containsPhrase = 'Contains phrase',
  71. String startsWith = 'Starts with',
  72. FdcFilterOperatorTranslations operatorLabels = const FdcFilterOperatorTranslations(),
})

Creates grid translations.

Implementation

const FdcGridTranslations({
  this.filters = 'Filters',
  this.showFilters = 'Show filters',
  this.hideFilters = 'Hide filters',
  this.clearFilter = 'Clear filter',
  this.clearFilters = 'Clear filters',
  this.clearAllFilters = 'Clear all filters',
  this.sorting = 'Sorting',
  this.sortAscending = 'Sort ascending',
  this.sortDescending = 'Sort descending',
  this.addAscendingSort = 'Add ascending sort',
  this.addDescendingSort = 'Add descending sort',
  this.clearSort = 'Clear sort',
  this.clearAllSorts = 'Clear all sorts',
  this.columnPinning = 'Column pinning',
  this.pinLeft = 'Pin to left',
  this.pinRight = 'Pin to right',
  this.unpin = 'Unpin',
  this.unpinAllColumns = 'Unpin all columns',
  this.resetGridLayout = 'Reset grid layout',
  this.noActionsAvailable = 'No actions available',
  this.mainMenu = 'Main menu',
  this.export = 'Export',
  String Function(String formatLabel)? exportTo,
  this.page = 'Page',
  this.of = 'of',
  this.noRangeFilter = 'No range filter',
  this.rangeFrom = 'From',
  this.rangeTo = 'To',
  this.searchHint = 'Search...',
  this.clearSearch = 'Clear search',
  this.caseSensitiveSearchOn = 'Case sensitive search is on',
  this.caseSensitiveSearchOff = 'Case sensitive search is off',
  this.searchOptions = 'Search options',
  this.searchAnyWord = 'Any word',
  this.searchAllWords = 'All words',
  this.searchExactPhrase = 'Exact phrase',
  this.firstPage = 'First page',
  this.previousPage = 'Previous page',
  this.nextPage = 'Next page',
  this.lastPage = 'Last page',
  String Function(int count)? selected,
  String Function(String value, String maximum)? valueOf,
  this.rating = 'Rating',
  this.trendNoData = 'Trend: No data',
  String Function(String points)? trend,
  this.browse = 'Browse',
  this.edit = 'Edit',
  this.insert = 'Insert',
  this.closed = 'Closed',
  this.loading = 'Loading',
  this.applyingUpdates = 'Applying updates',
  this.openingDataset = 'Opening dataset',
  this.loadingDataset = 'Loading dataset',
  this.filteringDataset = 'Filtering dataset',
  this.searchingDataset = 'Searching dataset',
  this.sortingDataset = 'Sorting dataset',
  this.datasetWork = 'Dataset work',
  this.aggregateSum = 'Sum',
  this.aggregateMin = 'Min',
  this.aggregateMax = 'Max',
  this.aggregateAvg = 'Avg',
  this.state = 'State',
  this.filtered = 'Filtered',
  this.sorted = 'Sorted',
  this.noRecords = '0 records',
  String Function(int recordNumber, int? totalCount)? record,
  this.showSelectedRows = 'Show selected rows',
  this.showUnselectedRows = 'Show unselected rows',
  this.clearSelectionFilter = 'Clear selection filter',
  this.containsPhrase = 'Contains phrase',
  this.startsWith = 'Starts with',
  this.operatorLabels = const FdcFilterOperatorTranslations(),
}) : _exportTo = exportTo,
     _selected = selected,
     _valueOf = valueOf,
     _trend = trend,
     _record = record;