GlobalMaterialLocalizations class Null safety

Implementation of localized strings for the material widgets using the intl package for date and time formatting.

Supported languages

This class supports locales with the following Locale.languageCodes:

  • af - Afrikaans
  • am - Amharic
  • ar - Arabic
  • as - Assamese
  • az - Azerbaijani
  • be - Belarusian
  • bg - Bulgarian
  • bn - Bengali Bangla
  • bs - Bosnian
  • ca - Catalan Valencian
  • cs - Czech
  • da - Danish
  • de - German (plus one country variation)
  • el - Modern Greek
  • en - English (plus 8 country variations)
  • es - Spanish Castilian (plus 20 country variations)
  • et - Estonian
  • eu - Basque
  • fa - Persian
  • fi - Finnish
  • fil - Filipino Pilipino
  • fr - French (plus one country variation)
  • gl - Galician
  • gsw - Swiss German Alemannic Alsatian
  • gu - Gujarati
  • he - Hebrew
  • hi - Hindi
  • hr - Croatian
  • hu - Hungarian
  • hy - Armenian
  • id - Indonesian
  • is - Icelandic
  • it - Italian
  • ja - Japanese
  • ka - Georgian
  • kk - Kazakh
  • km - Khmer Central Khmer
  • kn - Kannada
  • ko - Korean
  • ky - Kirghiz Kyrgyz
  • lo - Lao
  • lt - Lithuanian
  • lv - Latvian
  • mk - Macedonian
  • ml - Malayalam
  • mn - Mongolian
  • mr - Marathi
  • ms - Malay
  • my - Burmese
  • nb - Norwegian BokmÃ¥l
  • ne - Nepali
  • nl - Dutch Flemish
  • no - Norwegian
  • or - Oriya
  • pa - Panjabi Punjabi
  • pl - Polish
  • ps - Pushto Pashto
  • pt - Portuguese (plus one country variation)
  • ro - Romanian Moldavian Moldovan
  • ru - Russian
  • si - Sinhala Sinhalese
  • sk - Slovak
  • sl - Slovenian
  • sq - Albanian
  • sr - Serbian (plus 2 scripts)
  • sv - Swedish
  • sw - Swahili
  • ta - Tamil
  • te - Telugu
  • th - Thai
  • tl - Tagalog
  • tr - Turkish
  • uk - Ukrainian
  • ur - Urdu
  • uz - Uzbek
  • vi - Vietnamese
  • zh - Chinese (plus 2 country variations and 2 scripts)
  • zu - Zulu

This list is available programmatically via kMaterialSupportedLanguages.

Sample code

To include the localizations provided by this class in a MaterialApp, add GlobalMaterialLocalizations.delegates to MaterialApp.localizationsDelegates, and specify the locales your app supports with MaterialApp.supportedLocales:

MaterialApp(
  localizationsDelegates: GlobalMaterialLocalizations.delegates,
  supportedLocales: [
    const Locale('en', 'US'), // American English
    const Locale('he', 'IL'), // Israeli Hebrew
    // ...
  ],
  // ...
)

Overriding translations

To create a translation that's similar to an existing language's translation but has slightly different strings, subclass the relevant translation directly and then create a LocalizationsDelegate<MaterialLocalizations> subclass to define how to load it.

Avoid subclassing an unrelated language (for example, subclassing MaterialLocalizationEn and then passing a non-English localeName to the constructor). Doing so will cause confusion for locale-specific behaviors; in particular, translations that use the localeName for determining how to pluralize will end up doing invalid things. Subclassing an existing language's translations is only suitable for making small changes to the existing strings. For providing a new language entirely, implement MaterialLocalizations directly.

See also:

Implemented types
Implementers

Constructors

GlobalMaterialLocalizations({required String localeName, required DateFormat fullYearFormat, required DateFormat compactDateFormat, required DateFormat shortDateFormat, required DateFormat mediumDateFormat, required DateFormat longDateFormat, required DateFormat yearMonthFormat, required DateFormat shortMonthDayFormat, required NumberFormat decimalFormat, required NumberFormat twoDigitZeroPaddedFormat})
Initializes an object that defines the material widgets' localized strings for the given locale.
const

Properties

aboutListTileTitleRaw String
The raw version of aboutListTileTitle, with $applicationName verbatim in the string.
protected">@protectedread-only
alertDialogLabel String
Label read out by accessibility tools (TalkBack or VoiceOver) when an alert dialog widget is opened.
read-onlyinherited
anteMeridiemAbbreviation String
The abbreviation for ante meridiem (before noon) shown in the time picker.
read-onlyinherited
backButtonTooltip String
The BackButton's tooltip.
read-onlyinherited
calendarModeButtonLabel String
Tooltip used for the calendar mode button of the date pickers.
read-onlyinherited
cancelButtonLabel String
Label for "cancel" buttons and menu items.
read-onlyinherited
closeButtonLabel String
Label for "close" buttons and menu items.
read-onlyinherited
closeButtonTooltip String
The CloseButton's tooltip.
read-onlyinherited
collapsedIconTapHint String
The semantics hint to describe the tap action on a collapsed ExpandIcon.
read-onlyinherited
continueButtonLabel String
Label for "continue" buttons and menu items.
read-onlyinherited
copyButtonLabel String
Label for "copy" edit buttons and menu items.
read-onlyinherited
cutButtonLabel String
Label for "cut" edit buttons and menu items.
read-onlyinherited
dateHelpText String
The help text used on an empty InputDatePickerFormField to indicate to the user the date format being asked for.
read-onlyinherited
dateInputLabel String
The label used to describe the text field used in an InputDatePickerFormField.
read-onlyinherited
dateOutOfRangeLabel String
Error message displayed to the user when they have entered a date that is outside the valid range for the date picker. showDateRangePicker.
read-onlyinherited
datePickerHelpText String
Label used in the header of the date picker dialog created with showDatePicker.
read-onlyinherited
dateRangeEndDateSemanticLabelRaw String
The raw version of dateRangeEndDateSemanticLabel, with $fullDate verbatim in the string.
protected">@protectedread-only
dateRangeEndLabel String
The label used for the ending date input field in the date range picker created with showDateRangePicker.
read-onlyinherited
dateRangePickerHelpText String
Label used in the header of the date range picker dialog created with showDateRangePicker.
read-onlyinherited
dateRangeStartDateSemanticLabelRaw String
The raw version of dateRangeStartDateSemanticLabel, with $formattedDate verbatim in the string.
protected">@protectedread-only
dateRangeStartLabel String
The label used for the starting date input field in the date range picker created with showDateRangePicker.
read-onlyinherited
dateSeparator String
The character string used to separate the parts of a compact date format (i.e. mm/dd/yyyy has a separator of '/').
read-onlyinherited
deleteButtonTooltip String
The tooltip for the delete button on a Chip.
read-onlyinherited
dialModeButtonLabel String
Tooltip used to put the time picker into TimePickerEntryMode.dial.
read-onlyinherited
dialogLabel String
Label read out by accessibility tools (TalkBack or VoiceOver) when a dialog widget is opened.
read-onlyinherited
drawerLabel String
Label read out by accessibility tools (TalkBack or VoiceOver) when a drawer widget is opened.
read-onlyinherited
expandedIconTapHint String
The semantics hint to describe the tap action on an expanded ExpandIcon.
read-onlyinherited
firstDayOfWeekIndex int
Index of the first day of week, where 0 points to Sunday, and 6 points to Saturday.
read-onlyoverride
firstPageTooltip String
The tooltip for the PaginatedDataTable's "first page" button.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
hideAccountsLabel String
The semantics label used for the button on UserAccountsDrawerHeader that hides the list of accounts.
read-onlyinherited
inputDateModeButtonLabel String
Tooltip used for the text input mode button of the date pickers.
read-onlyinherited
inputTimeModeButtonLabel String
Tooltip used to put the time picker into TimePickerEntryMode.input.
read-onlyinherited
invalidDateFormatLabel String
Error message displayed to the user when they have entered a text string in an InputDatePickerFormField that is not in a valid date format.
read-onlyinherited
invalidDateRangeLabel String
Error message displayed to the user when they have entered an invalid date range in the input mode of the date range picker created with showDateRangePicker.
read-onlyinherited
invalidTimeLabel String
Error message for the time picker dialog created with showTimePicker when in TimePickerEntryMode.input.
read-onlyinherited
keyboardKeyAlt String
The shortcut label for the keyboard key LogicalKeyboardKey.alt.
read-onlyinherited
keyboardKeyAltGraph String
The shortcut label for the keyboard key LogicalKeyboardKey.altGraph.
read-onlyinherited
keyboardKeyBackspace String
The shortcut label for the keyboard key LogicalKeyboardKey.backspace.
read-onlyinherited
keyboardKeyCapsLock String
The shortcut label for the keyboard key LogicalKeyboardKey.capsLock.
read-onlyinherited
keyboardKeyChannelDown String
The shortcut label for the keyboard key LogicalKeyboardKey.channelDown.
read-onlyinherited
keyboardKeyChannelUp String
The shortcut label for the keyboard key LogicalKeyboardKey.channelUp.
read-onlyinherited
keyboardKeyControl String
The shortcut label for the keyboard key LogicalKeyboardKey.control.
read-onlyinherited
keyboardKeyDelete String
The shortcut label for the keyboard key LogicalKeyboardKey.delete.
read-onlyinherited
keyboardKeyEject String
The shortcut label for the keyboard key LogicalKeyboardKey.eject.
read-onlyinherited
keyboardKeyEnd String
The shortcut label for the keyboard key LogicalKeyboardKey.end.
read-onlyinherited
keyboardKeyEscape String
The shortcut label for the keyboard key LogicalKeyboardKey.escape.
read-onlyinherited
keyboardKeyFn String
The shortcut label for the keyboard key LogicalKeyboardKey.fn.
read-onlyinherited
keyboardKeyHome String
The shortcut label for the keyboard key LogicalKeyboardKey.home.
read-onlyinherited
keyboardKeyInsert String
The shortcut label for the keyboard key LogicalKeyboardKey.insert.
read-onlyinherited
keyboardKeyMeta String
The shortcut label for the keyboard key LogicalKeyboardKey.meta.
read-onlyinherited
keyboardKeyMetaMacOs String
The shortcut label for the keyboard key LogicalKeyboardKey.meta on macOS.
read-onlyinherited
keyboardKeyMetaWindows String
The shortcut label for the keyboard key LogicalKeyboardKey.meta on Windows.
read-onlyinherited
keyboardKeyNumLock String
The shortcut label for the keyboard key LogicalKeyboardKey.numLock.
read-onlyinherited
keyboardKeyNumpad0 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad0.
read-onlyinherited
keyboardKeyNumpad1 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad1.
read-onlyinherited
keyboardKeyNumpad2 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad2.
read-onlyinherited
keyboardKeyNumpad3 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad3.
read-onlyinherited
keyboardKeyNumpad4 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad4.
read-onlyinherited
keyboardKeyNumpad5 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad5.
read-onlyinherited
keyboardKeyNumpad6 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad6.
read-onlyinherited
keyboardKeyNumpad7 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad7.
read-onlyinherited
keyboardKeyNumpad8 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad8.
read-onlyinherited
keyboardKeyNumpad9 String
The shortcut label for the keyboard key LogicalKeyboardKey.numpad9.
read-onlyinherited
keyboardKeyNumpadAdd String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadAdd.
read-onlyinherited
keyboardKeyNumpadComma String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadComma.
read-onlyinherited
keyboardKeyNumpadDecimal String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadDecimal.
read-onlyinherited
keyboardKeyNumpadDivide String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadDivide.
read-onlyinherited
keyboardKeyNumpadEnter String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadEnter.
read-onlyinherited
keyboardKeyNumpadEqual String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadEqual.
read-onlyinherited
keyboardKeyNumpadMultiply String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadMultiply.
read-onlyinherited
keyboardKeyNumpadParenLeft String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadParenLeft.
read-onlyinherited
keyboardKeyNumpadParenRight String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadParenRight.
read-onlyinherited
keyboardKeyNumpadSubtract String
The shortcut label for the keyboard key LogicalKeyboardKey.numpadSubtract.
read-onlyinherited
keyboardKeyPageDown String
The shortcut label for the keyboard key LogicalKeyboardKey.pageDown.
read-onlyinherited
keyboardKeyPageUp String
The shortcut label for the keyboard key LogicalKeyboardKey.pageUp.
read-onlyinherited
keyboardKeyPower String
The shortcut label for the keyboard key LogicalKeyboardKey.power.
read-onlyinherited
keyboardKeyPowerOff String
The shortcut label for the keyboard key LogicalKeyboardKey.powerOff.
read-onlyinherited
keyboardKeyPrintScreen String
The shortcut label for the keyboard key LogicalKeyboardKey.printScreen.
read-onlyinherited
keyboardKeyScrollLock String
The shortcut label for the keyboard key LogicalKeyboardKey.scrollLock.
read-onlyinherited
keyboardKeySelect String
The shortcut label for the keyboard key LogicalKeyboardKey.select.
read-onlyinherited
keyboardKeySpace String
The shortcut label for the keyboard key LogicalKeyboardKey.space.
read-onlyinherited
lastPageTooltip String
The tooltip for the PaginatedDataTable's "last page" button.
read-onlyinherited
licensesPackageDetailTextFew String?
The "few" form of licensesPackageDetailText.
protected">@protectedread-only
licensesPackageDetailTextMany String?
The "many" form of licensesPackageDetailText.
protected">@protectedread-only
licensesPackageDetailTextOne String?
The "one" form of licensesPackageDetailText.
protected">@protectedread-only
licensesPackageDetailTextOther String
The "other" form of licensesPackageDetailText.
protected">@protectedread-only
licensesPackageDetailTextTwo String?
The "two" form of licensesPackageDetailText.
protected">@protectedread-only
licensesPackageDetailTextZero String?
The "zero" form of licensesPackageDetailText.
protected">@protectedread-only
licensesPageTitle String
Title for the LicensePage widget.
read-onlyinherited
Label read out by accessibility tools (TalkBack or VoiceOver) when a MenuBarMenu widget is opened.
read-onlyinherited
modalBarrierDismissLabel String
Label read out by accessibility tools (TalkBack or VoiceOver) for a modal barrier to indicate that a tap dismisses the barrier.
read-onlyinherited
moreButtonTooltip String
The tooltip for the more button on an overflowing text selection menu.
read-onlyinherited
narrowWeekdays List<String>
List of week day names in narrow format, usually 1- or 2-letter abbreviations of full names.
read-onlyoverride
nextMonthTooltip String
The tooltip for the CalendarDatePicker's "next month" button.
read-onlyinherited
nextPageTooltip String
The tooltip for the PaginatedDataTable's "next page" button.
read-onlyinherited
okButtonLabel String
Label for OK buttons and menu items.
read-onlyinherited
openAppDrawerTooltip String
The tooltip for the leading AppBar menu (a.k.a. 'hamburger') button.
read-onlyinherited
pageRowsInfoTitleApproximateRaw String
The raw version of pageRowsInfoTitle, with $firstRow, $lastRow' and $rowCount verbatim in the string, for the case where the value is approximate.
protected">@protectedread-only
pageRowsInfoTitleRaw String
The raw version of pageRowsInfoTitle, with $firstRow, $lastRow' and $rowCount verbatim in the string, for the case where the value is precise.
protected">@protectedread-only
pasteButtonLabel String
Label for "paste" edit buttons and menu items.
read-onlyinherited
popupMenuLabel String
Label read out by accessibility tools (TalkBack or VoiceOver) when a popup menu widget is opened.
read-onlyinherited
postMeridiemAbbreviation String
The abbreviation for post meridiem (after noon) shown in the time picker.
read-onlyinherited
previousMonthTooltip String
The tooltip for the CalendarDatePicker's "previous month" button.
read-onlyinherited
previousPageTooltip String
The tooltip for the PaginatedDataTable's "previous page" button.
read-onlyinherited
refreshIndicatorSemanticLabel String
The default semantics label for a RefreshIndicator.
read-onlyinherited
remainingTextFieldCharacterCountFew String?
The "few" form of remainingTextFieldCharacterCount.
protected">@protectedread-only
remainingTextFieldCharacterCountMany String?
The "many" form of remainingTextFieldCharacterCount.
protected">@protectedread-only
remainingTextFieldCharacterCountOne String?
The "one" form of remainingTextFieldCharacterCount.
protected">@protectedread-only
remainingTextFieldCharacterCountOther String
The "other" form of remainingTextFieldCharacterCount.
protected">@protectedread-only
remainingTextFieldCharacterCountTwo String?
The "two" form of remainingTextFieldCharacterCount.
protected">@protectedread-only
remainingTextFieldCharacterCountZero String?
The "zero" form of remainingTextFieldCharacterCount.
protected">@protectedread-only
reorderItemDown String
The semantics label used for ReorderableListView to reorder an item in the list one space down the list.
read-onlyinherited
reorderItemLeft String
The semantics label used for ReorderableListView to reorder an item in the list one space left in the list.
read-onlyinherited
reorderItemRight String
The semantics label used for ReorderableListView to reorder an item in the list one space right in the list.
read-onlyinherited
reorderItemToEnd String
The semantics label used for ReorderableListView to reorder an item in the list to the end of the list.
read-onlyinherited
reorderItemToStart String
The semantics label used for ReorderableListView to reorder an item in the list to the start of the list.
read-onlyinherited
reorderItemUp String
The semantics label used for ReorderableListView to reorder an item in the list one space up the list.
read-onlyinherited
rowsPerPageTitle String
Title for the PaginatedDataTable's "rows per page" footer.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
saveButtonLabel String
Label for a 'SAVE' button. Currently used by the full screen mode of the date range picker.
read-onlyinherited
scriptCategory ScriptCategory
Defines the localized TextStyle geometry for ThemeData.textTheme.
read-onlyoverride
searchFieldLabel String
Label indicating that a text field is a search field. This will be used as a hint text in the text field.
read-onlyinherited
selectAllButtonLabel String
Label for "select all" edit buttons and menu items.
read-onlyinherited
selectedRowCountTitleFew String?
The "few" form of selectedRowCountTitle.
protected">@protectedread-only
selectedRowCountTitleMany String?
The "many" form of selectedRowCountTitle.
protected">@protectedread-only
selectedRowCountTitleOne String?
The "one" form of selectedRowCountTitle.
protected">@protectedread-only
selectedRowCountTitleOther String
The "other" form of selectedRowCountTitle.
protected">@protectedread-only
selectedRowCountTitleTwo String?
The "two" form of selectedRowCountTitle.
protected">@protectedread-only
selectedRowCountTitleZero String?
The "zero" form of selectedRowCountTitle.
protected">@protectedread-only
selectYearSemanticsLabel String
The semantic label used to announce when the user has entered the year selection mode of the CalendarDatePicker which is used in the data picker dialog created with showDatePicker.
read-onlyinherited
showAccountsLabel String
The semantics label used for the button on UserAccountsDrawerHeader that shows the list of accounts.
read-onlyinherited
showMenuTooltip String
The default PopupMenuButton tooltip.
read-onlyinherited
signedInLabel String
The semantics label used to indicate which account is signed in the UserAccountsDrawerHeader widget.
read-onlyinherited
tabLabelRaw String
The raw version of tabLabel, with $tabIndex and $tabCount verbatim in the string.
protected">@protectedread-only
timeOfDayFormatRaw TimeOfDayFormat
The format to use for timeOfDayFormat.
protected">@protectedread-only
timePickerDialHelpText String
Label used in the header of the time picker dialog created with showTimePicker when in TimePickerEntryMode.dial.
read-onlyinherited
timePickerHourLabel String
Label used below the hour text field of the time picker dialog created with showTimePicker when in TimePickerEntryMode.input.
read-onlyinherited
timePickerHourModeAnnouncement String
The text-to-speech announcement made when a time picker invoked using showTimePicker is set to the hour picker mode.
read-onlyinherited
timePickerInputHelpText String
Label used in the header of the time picker dialog created with showTimePicker when in TimePickerEntryMode.input.
read-onlyinherited
timePickerMinuteLabel String
Label used below the minute text field of the time picker dialog created with showTimePicker when in TimePickerEntryMode.input.
read-onlyinherited
timePickerMinuteModeAnnouncement String
The text-to-speech announcement made when a time picker invoked using showTimePicker is set to the minute picker mode.
read-onlyinherited
unspecifiedDate String
The label used to indicate a date that has not been entered or selected yet in the date picker.
read-onlyinherited
unspecifiedDateRange String
The label used to indicate a date range that has not been entered or selected yet in the date range picker.
read-onlyinherited
viewLicensesButtonLabel String
Label for the AboutDialog button that shows the LicensePage.
read-onlyinherited

Methods

aboutListTileTitle(String applicationName) String
The default title for AboutListTile.
override
dateRangeEndDateSemanticLabel(String formattedDate) String
The semantics label used for the selected end date in the date range picker's day grid.
override
dateRangeStartDateSemanticLabel(String formattedDate) String
The semantics label used for the selected start date in the date range picker's day grid.
override
formatCompactDate(DateTime date) String
Formats the date in a compact format.
override
formatDecimal(int number) String
Formats number as a decimal, inserting locale-appropriate thousands separators as necessary.
override
formatFullDate(DateTime date) String
Formats day of week, month, day of month and year in a long-width format.
override
formatHour(TimeOfDay timeOfDay, {bool alwaysUse24HourFormat = false}) String
Formats TimeOfDay.hour in the given time of day according to the value of timeOfDayFormat.
override
formatMediumDate(DateTime date) String
Formats the date using a medium-width format.
override
formatMinute(TimeOfDay timeOfDay) String
Formats TimeOfDay.minute in the given time of day according to the value of timeOfDayFormat.
override
formatMonthYear(DateTime date) String
Formats the month and the year of the given date.
override
formatShortDate(DateTime date) String
Formats the date using a short-width format.
override
formatShortMonthDay(DateTime date) String
Formats the month and day of the given date.
override
formatTimeOfDay(TimeOfDay timeOfDay, {bool alwaysUse24HourFormat = false}) String
Formats timeOfDay according to the value of timeOfDayFormat.
override
formatYear(DateTime date) String
Full unabbreviated year format, e.g. 2017 rather than 17.
override
licensesPackageDetailText(int licenseCount) String
Subtitle for a package in the LicensePage widget.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
pageRowsInfoTitle(int firstRow, int lastRow, int rowCount, bool rowCountIsApproximate) String
Title for the PaginatedDataTable's row info footer.
override
parseCompactDate(String? inputString) DateTime?
Converts the given compact date formatted string into a DateTime.
override
remainingTextFieldCharacterCount(int remaining) String
The label for the TextField's character counter.
override
selectedRowCountTitle(int selectedRowCount) String
Title for the PaginatedDataTable's selected row count header.
override
tabLabel({required int tabIndex, required int tabCount}) String
The accessibility label used on a tab in a TabBar.
override
timeOfDayFormat({bool alwaysUse24HourFormat = false}) TimeOfDayFormat
The TimeOfDayFormat corresponding to one of the following supported patterns:
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

delegate → const LocalizationsDelegate<MaterialLocalizations>
A LocalizationsDelegate for MaterialLocalizations.
_MaterialLocalizationsDelegate()
delegates → const List<LocalizationsDelegate>
A value for MaterialApp.localizationsDelegates that's typically used by internationalized apps.
<LocalizationsDelegate<dynamic>>[GlobalCupertinoLocalizations.delegate, GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate]