TreeDataTableLocalizations class abstract

Callers can lookup localized strings with an instance of TreeDataTableLocalizations returned by TreeDataTableLocalizations.of(context).

Applications need to include TreeDataTableLocalizations.delegate() in their app's localizationDelegates list, and the locales they support in the app's supportedLocales list. For example:

import 'generated/tree_data_table_localizations.dart';

return MaterialApp(
  localizationsDelegates: TreeDataTableLocalizations.localizationsDelegates,
  supportedLocales: TreeDataTableLocalizations.supportedLocales,
  home: MyApplicationHome(),
);

Update pubspec.yaml

Please make sure to update your pubspec.yaml to include the following packages:

dependencies:
  # Internationalization support.
  flutter_localizations:
    sdk: flutter
  intl: any # Use the pinned version from flutter_localizations

  # Rest of dependencies

iOS Applications

iOS applications define key application metadata, including supported locales, in an Info.plist file that is built into the application bundle. To configure the locales supported by your app, you’ll need to edit this file.

First, open your project’s ios/Runner.xcworkspace Xcode workspace file. Then, in the Project Navigator, open the Info.plist file under the Runner project’s Runner folder.

Next, select the Information Property List item, select Add Item from the Editor menu, then select Localizations from the pop-up menu.

Select and expand the newly-created Localizations item then, for each locale your application supports, add a new item and select the locale you wish to add from the pop-up menu in the Value field. This list should be consistent with the languages listed in the TreeDataTableLocalizations.supportedLocales property.

Implementers

Constructors

TreeDataTableLocalizations(String locale)

Properties

after String
Date filter option for values after a date
no setter
apply String
Button that applies the current filter
no setter
before String
Date filter option for values before a date
no setter
between String
Filter option for values between two inputs
no setter
blank String
Filter option for blank values
no setter
blankValue String
Set filter label for blank values
no setter
caseSensitive String
Text filter case sensitivity toggle
no setter
clear String
Button that clears a selection or input
no setter
clearAll String
Button that clears all active filters
no setter
contains String
Text filter option for values containing text
no setter
date String
Date filter value field label
no setter
dateAndTime String
Date-time filter value field label
no setter
doesNotContain String
Text filter option for values not containing text
no setter
doesNotEqual String
Filter option for values not equal to the input
no setter
endDate String
Date filter end field label
no setter
endDateAndTime String
Date-time filter end field label
no setter
endsWith String
Text filter option for values ending with text
no setter
equals String
Filter option for values equal to the input
no setter
filter String
Column popup filter panel title
no setter
filterType String
Column popup filter type field label
no setter
filterValue String
Column popup filter value field label
no setter
greaterThan String
Number filter option for values greater than the input
no setter
greaterThanOrEqual String
Number filter option for values greater than or equal to the input
no setter
hashCode int
The hash code for this object.
no setterinherited
hideColumn String
Column popup menu hide column
no setter
lessThan String
Number filter option for values less than the input
no setter
lessThanOrEqual String
Number filter option for values less than or equal to the input
no setter
localeName String
final
manageColumns String
Column popup menu manage columns and when no columns visible
no setter
maximumValue String
Number filter maximum value field label
no setter
minimumValue String
Number filter minimum value field label
no setter
nextPage String
Footer message when paginated
no setter
noColumns String
Show that there are no columns visible
no setter
notBlank String
Filter option for non-blank values
no setter
ofLowerCase String
Footer message when paginated
no setter
onOrAfter String
Date filter option for values on or after a date
no setter
onOrBefore String
Date filter option for values on or before a date
no setter
pinToLeft String
Column popup menu pin column to left
no setter
pinToRight String
Column popup menu pin column to right
no setter
previousPage String
Footer message when paginated
no setter
reset String
Button that resets the current column filter
no setter
retry String
Button that retries a failed lazy-loading request
no setter
rowsPerPage String
Footer message when paginated
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Column visibility popup dialog search column
no setter
searchValues String
Set filter search field label
no setter
selectAll String
Set filter button that selects all values
no setter
showHideAll String
Column visibility popup dialog to show or hide columns
no setter
sortAscending String
Column popup menu sort ascending
no setter
sortDescending String
Column popup menu sort descending
no setter
startDate String
Date filter start field label
no setter
startDateAndTime String
Date-time filter start field label
no setter
startsWith String
Text filter option for values starting with text
no setter
totalRows String
Footer message when not paginated
no setter
unpin String
Column popup menu unpin columns
no setter
unsort String
Column popup menu remove sorting
no setter

Methods

failedToLoadTableData(String error) String
Default lazy-loading error message
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

of(BuildContext context) TreeDataTableLocalizations?

Constants

delegate → const LocalizationsDelegate<TreeDataTableLocalizations>
localizationsDelegates → const List<LocalizationsDelegate>
A list of this localizations delegate along with the default localizations delegates.
supportedLocales → const List<Locale>
A list of this localizations delegate's supported locales.