GlobalMaterialLocalizations class abstract
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
- Afrikaansam
- Amharicar
- Arabicas
- Assameseaz
- Azerbaijanibe
- Belarusianbg
- Bulgarianbn
- Bengali Banglabs
- Bosnianca
- Catalan Valenciancs
- Czechcy
- Welshda
- Danishde
- German (plus one country variation)el
- Modern Greeken
- English (plus 8 country variations)es
- Spanish Castilian (plus 20 country variations)et
- Estonianeu
- Basquefa
- Persianfi
- Finnishfil
- Filipino Pilipinofr
- French (plus one country variation)gl
- Galiciangsw
- Swiss German Alemannic Alsatiangu
- Gujaratihe
- Hebrewhi
- Hindihr
- Croatianhu
- Hungarianhy
- Armenianid
- Indonesianis
- Icelandicit
- Italianja
- Japaneseka
- Georgiankk
- Kazakhkm
- Khmer Central Khmerkn
- Kannadako
- Koreanky
- Kirghiz Kyrgyzlo
- Laolt
- Lithuanianlv
- Latvianmk
- Macedonianml
- Malayalammn
- Mongolianmr
- Marathims
- Malaymy
- Burmesenb
- Norwegian Bokmålne
- Nepalinl
- Dutch Flemishno
- Norwegianor
- Oriyapa
- Panjabi Punjabipl
- Polishps
- Pushto Pashtopt
- Portuguese (plus one country variation)ro
- Romanian Moldavian Moldovanru
- Russiansi
- Sinhala Sinhalesesk
- Slovaksl
- Sloveniansq
- Albaniansr
- Serbian (plus 2 scripts)sv
- Swedishsw
- Swahilita
- Tamilte
- Teluguth
- Thaitl
- Tagalogtr
- Turkishuk
- Ukrainianur
- Urduuz
- Uzbekvi
- Vietnamesezh
- 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:
const MaterialApp(
localizationsDelegates: GlobalMaterialLocalizations.delegates,
supportedLocales: <Locale>[
Locale('en', 'US'), // American English
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:
- The Flutter Internationalization Tutorial, flutter.dev/to/internationalization/.
- DefaultMaterialLocalizations, which only provides US English translations.
- Implemented types
- Implementers
- MaterialLocalizationAf
- MaterialLocalizationAm
- MaterialLocalizationAr
- MaterialLocalizationAs
- MaterialLocalizationAz
- MaterialLocalizationBe
- MaterialLocalizationBg
- MaterialLocalizationBn
- MaterialLocalizationBs
- MaterialLocalizationCa
- MaterialLocalizationCs
- MaterialLocalizationCy
- MaterialLocalizationDa
- MaterialLocalizationDe
- MaterialLocalizationEl
- MaterialLocalizationEn
- MaterialLocalizationEs
- MaterialLocalizationEt
- MaterialLocalizationEu
- MaterialLocalizationFa
- MaterialLocalizationFi
- MaterialLocalizationFil
- MaterialLocalizationFr
- MaterialLocalizationGl
- MaterialLocalizationGsw
- MaterialLocalizationGu
- MaterialLocalizationHe
- MaterialLocalizationHi
- MaterialLocalizationHr
- MaterialLocalizationHu
- MaterialLocalizationHy
- MaterialLocalizationId
- MaterialLocalizationIs
- MaterialLocalizationIt
- MaterialLocalizationJa
- MaterialLocalizationKa
- MaterialLocalizationKk
- MaterialLocalizationKm
- MaterialLocalizationKn
- MaterialLocalizationKo
- MaterialLocalizationKy
- MaterialLocalizationLo
- MaterialLocalizationLt
- MaterialLocalizationLv
- MaterialLocalizationMk
- MaterialLocalizationMl
- MaterialLocalizationMn
- MaterialLocalizationMr
- MaterialLocalizationMs
- MaterialLocalizationMy
- MaterialLocalizationNb
- MaterialLocalizationNe
- MaterialLocalizationNl
- MaterialLocalizationNo
- MaterialLocalizationOr
- MaterialLocalizationPa
- MaterialLocalizationPl
- MaterialLocalizationPs
- MaterialLocalizationPt
- MaterialLocalizationRo
- MaterialLocalizationRu
- MaterialLocalizationSi
- MaterialLocalizationSk
- MaterialLocalizationSl
- MaterialLocalizationSq
- MaterialLocalizationSr
- MaterialLocalizationSv
- MaterialLocalizationSw
- MaterialLocalizationTa
- MaterialLocalizationTe
- MaterialLocalizationTh
- MaterialLocalizationTl
- MaterialLocalizationTr
- MaterialLocalizationUk
- MaterialLocalizationUr
- MaterialLocalizationUz
- MaterialLocalizationVi
- MaterialLocalizationZh
- MaterialLocalizationZu
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.no setter - alertDialogLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when an
alert dialog widget is opened.
no setterinherited
- anteMeridiemAbbreviation → String
-
The abbreviation for ante meridiem (before noon) shown in the time picker.
no setterinherited
- backButtonTooltip → String
-
The BackButton's tooltip.
no setterinherited
- bottomSheetLabel → String
-
Label for a BottomSheet, used as the
modalRouteContentName
of the scrimOnTapHint.no setterinherited - calendarModeButtonLabel → String
-
Tooltip used for the calendar mode button of the date pickers.
no setterinherited
- cancelButtonLabel → String
-
Label for "cancel" buttons and menu items.
no setterinherited
- clearButtonTooltip → String
-
The tooltip for the clear button to clear text on SearchAnchor's search view.
no setterinherited
- closeButtonLabel → String
-
Label for "close" buttons and menu items.
no setterinherited
- closeButtonTooltip → String
-
The CloseButton's tooltip.
no setterinherited
- collapsedHint → String
-
The semantics hint to describe the ExpansionTile collapsed state.
no setterinherited
- collapsedIconTapHint → String
-
The semantics hint to describe the tap action on a collapsed ExpandIcon.
no setterinherited
- continueButtonLabel → String
-
Label for "continue" buttons and menu items.
no setterinherited
- copyButtonLabel → String
-
Label for "copy" edit buttons and menu items.
no setterinherited
- currentDateLabel → String
-
Label indicating that a given date is the current date.
no setterinherited
- cutButtonLabel → String
-
Label for "cut" edit buttons and menu items.
no setterinherited
- dateHelpText → String
-
The help text used on an empty InputDatePickerFormField to indicate
to the user the date format being asked for.
no setterinherited
- dateInputLabel → String
-
The label used to describe the text field used in an InputDatePickerFormField.
no setterinherited
- 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.
no setterinherited
- datePickerHelpText → String
-
Label used in the header of the date picker dialog created with
showDatePicker.
no setterinherited
- dateRangeEndDateSemanticLabelRaw → String
-
The raw version of dateRangeEndDateSemanticLabel, with
$fullDate
verbatim in the string.no setter - dateRangeEndLabel → String
-
The label used for the ending date input field in the date range picker
created with showDateRangePicker.
no setterinherited
- dateRangePickerHelpText → String
-
Label used in the header of the date range picker dialog created with
showDateRangePicker.
no setterinherited
- dateRangeStartDateSemanticLabelRaw → String
-
The raw version of dateRangeStartDateSemanticLabel, with
$formattedDate
verbatim in the string.no setter - dateRangeStartLabel → String
-
The label used for the starting date input field in the date range picker
created with showDateRangePicker.
no setterinherited
- dateSeparator → String
-
The character string used to separate the parts of a compact date format
(i.e. mm/dd/yyyy has a separator of '/').
no setterinherited
- deleteButtonTooltip → String
-
The tooltip for the delete button on a Chip.
no setterinherited
- dialModeButtonLabel → String
-
Tooltip used to put the time picker into TimePickerEntryMode.dial.
no setterinherited
- dialogLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
dialog widget is opened.
no setterinherited
- drawerLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
drawer widget is opened.
no setterinherited
- expandedHint → String
-
The semantics hint to describe the ExpansionTile expanded state.
no setterinherited
- expandedIconTapHint → String
-
The semantics hint to describe the tap action on an expanded ExpandIcon.
no setterinherited
- expansionTileCollapsedHint → String
-
The semantics hint to describe the tap action on a collapsed
ExpansionTile on iOS and macOS. This is appended to the expandedHint
hint to provide a more detailed description of the action, e.g. "Collapsed
double tap to expand".
no setterinherited
- expansionTileCollapsedTapHint → String
-
The semantics hint to describe the tap action on a collapsed ExpansionTile.
no setterinherited
- expansionTileExpandedHint → String
-
The semantics hint to describe the tap action on an expanded
ExpansionTile on iOS and macOS. This is appended to the collapsedHint
hint to provide a more detailed description of the action, e.g. "Expanded
double tap to collapse".
no setterinherited
- expansionTileExpandedTapHint → String
-
The semantics hint to describe the tap action on an expanded ExpansionTile.
no setterinherited
- firstDayOfWeekIndex → int
-
Index of the first day of week, where 0 points to Sunday, and 6 points to
Saturday.
no setteroverride
- firstPageTooltip → String
-
The tooltip for the PaginatedDataTable's "first page" button.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideAccountsLabel → String
-
The semantics label used for the button on UserAccountsDrawerHeader that
hides the list of accounts.
no setterinherited
- inputDateModeButtonLabel → String
-
Tooltip used for the text input mode button of the date pickers.
no setterinherited
- inputTimeModeButtonLabel → String
-
Tooltip used to put the time picker into TimePickerEntryMode.input.
no setterinherited
- 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.
no setterinherited
- 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.
no setterinherited
- invalidTimeLabel → String
-
Error message for the time picker dialog created with showTimePicker
when in TimePickerEntryMode.input.
no setterinherited
- keyboardKeyAlt → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.alt.
no setterinherited
- keyboardKeyAltGraph → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.altGraph.
no setterinherited
- keyboardKeyBackspace → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.backspace.
no setterinherited
- keyboardKeyCapsLock → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.capsLock.
no setterinherited
- keyboardKeyChannelDown → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.channelDown.
no setterinherited
- keyboardKeyChannelUp → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.channelUp.
no setterinherited
- keyboardKeyControl → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.control.
no setterinherited
- keyboardKeyDelete → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.delete.
no setterinherited
- keyboardKeyEject → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.eject.
no setterinherited
- keyboardKeyEnd → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.end.
no setterinherited
- keyboardKeyEscape → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.escape.
no setterinherited
- keyboardKeyFn → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.fn.
no setterinherited
- keyboardKeyHome → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.home.
no setterinherited
- keyboardKeyInsert → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.insert.
no setterinherited
- keyboardKeyMeta → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.meta.
no setterinherited
- keyboardKeyMetaMacOs → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.meta on macOS.
no setterinherited
- keyboardKeyMetaWindows → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.meta on Windows.
no setterinherited
- keyboardKeyNumLock → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numLock.
no setterinherited
- keyboardKeyNumpad0 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad0.
no setterinherited
- keyboardKeyNumpad1 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad1.
no setterinherited
- keyboardKeyNumpad2 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad2.
no setterinherited
- keyboardKeyNumpad3 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad3.
no setterinherited
- keyboardKeyNumpad4 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad4.
no setterinherited
- keyboardKeyNumpad5 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad5.
no setterinherited
- keyboardKeyNumpad6 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad6.
no setterinherited
- keyboardKeyNumpad7 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad7.
no setterinherited
- keyboardKeyNumpad8 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad8.
no setterinherited
- keyboardKeyNumpad9 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad9.
no setterinherited
- keyboardKeyNumpadAdd → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadAdd.
no setterinherited
- keyboardKeyNumpadComma → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadComma.
no setterinherited
- keyboardKeyNumpadDecimal → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadDecimal.
no setterinherited
- keyboardKeyNumpadDivide → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadDivide.
no setterinherited
- keyboardKeyNumpadEnter → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadEnter.
no setterinherited
- keyboardKeyNumpadEqual → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadEqual.
no setterinherited
- keyboardKeyNumpadMultiply → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadMultiply.
no setterinherited
- keyboardKeyNumpadParenLeft → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadParenLeft.
no setterinherited
- keyboardKeyNumpadParenRight → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadParenRight.
no setterinherited
- keyboardKeyNumpadSubtract → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadSubtract.
no setterinherited
- keyboardKeyPageDown → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.pageDown.
no setterinherited
- keyboardKeyPageUp → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.pageUp.
no setterinherited
- keyboardKeyPower → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.power.
no setterinherited
- keyboardKeyPowerOff → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.powerOff.
no setterinherited
- keyboardKeyPrintScreen → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.printScreen.
no setterinherited
- keyboardKeyScrollLock → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.scrollLock.
no setterinherited
- keyboardKeySelect → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.select.
no setterinherited
- keyboardKeyShift → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.shift.
no setterinherited
- keyboardKeySpace → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.space.
no setterinherited
- lastPageTooltip → String
-
The tooltip for the PaginatedDataTable's "last page" button.
no setterinherited
- licensesPackageDetailTextFew → String?
-
The "few" form of licensesPackageDetailText.
no setter
- licensesPackageDetailTextMany → String?
-
The "many" form of licensesPackageDetailText.
no setter
- licensesPackageDetailTextOne → String?
-
The "one" form of licensesPackageDetailText.
no setter
- licensesPackageDetailTextOther → String
-
The "other" form of licensesPackageDetailText.
no setter
- licensesPackageDetailTextTwo → String?
-
The "two" form of licensesPackageDetailText.
no setter
- licensesPackageDetailTextZero → String?
-
The "zero" form of licensesPackageDetailText.
no setter
- licensesPageTitle → String
-
Title for the LicensePage widget.
no setterinherited
- lookUpButtonLabel → String
-
Label for "look up" edit buttons and menu items.
no setterinherited
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
MenuBarMenu widget is opened.
no setterinherited
-
Label read out by accessibility tools (TalkBack or VoiceOver) for a
context menu to indicate that a tap dismisses the context menu.
no setterinherited
- modalBarrierDismissLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) for a modal
barrier to indicate that a tap dismisses the barrier.
no setterinherited
- moreButtonTooltip → String
-
The tooltip for the more button on an overflowing text selection menu.
no setterinherited
-
narrowWeekdays
→ List<
String> -
List of week day names in narrow format, usually 1- or 2-letter
abbreviations of full names.
no setteroverride
- nextMonthTooltip → String
-
The tooltip for the CalendarDatePicker's "next month" button.
no setterinherited
- nextPageTooltip → String
-
The tooltip for the PaginatedDataTable's "next page" button.
no setterinherited
- okButtonLabel → String
-
Label for OK buttons and menu items.
no setterinherited
- openAppDrawerTooltip → String
-
The tooltip for the leading AppBar menu (a.k.a. 'hamburger') button.
no setterinherited
- pageRowsInfoTitleApproximateRaw → String
-
The raw version of pageRowsInfoTitle, with
$firstRow
,$lastRow
' and$rowCount
verbatim in the string, for the case where the value is approximate.no setter - pageRowsInfoTitleRaw → String
-
The raw version of pageRowsInfoTitle, with
$firstRow
,$lastRow
' and$rowCount
verbatim in the string, for the case where the value is precise.no setter - pasteButtonLabel → String
-
Label for "paste" edit buttons and menu items.
no setterinherited
- popupMenuLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
popup menu widget is opened.
no setterinherited
- postMeridiemAbbreviation → String
-
The abbreviation for post meridiem (after noon) shown in the time picker.
no setterinherited
- previousMonthTooltip → String
-
The tooltip for the CalendarDatePicker's "previous month" button.
no setterinherited
- previousPageTooltip → String
-
The tooltip for the PaginatedDataTable's "previous page" button.
no setterinherited
- refreshIndicatorSemanticLabel → String
-
The default semantics label for a RefreshIndicator.
no setterinherited
- remainingTextFieldCharacterCountFew → String?
-
The "few" form of remainingTextFieldCharacterCount.
no setter
- remainingTextFieldCharacterCountMany → String?
-
The "many" form of remainingTextFieldCharacterCount.
no setter
- remainingTextFieldCharacterCountOne → String?
-
The "one" form of remainingTextFieldCharacterCount.
no setter
- remainingTextFieldCharacterCountOther → String
-
The "other" form of remainingTextFieldCharacterCount.
no setter
- remainingTextFieldCharacterCountTwo → String?
-
The "two" form of remainingTextFieldCharacterCount.
no setter
- remainingTextFieldCharacterCountZero → String?
-
The "zero" form of remainingTextFieldCharacterCount.
no setter
- reorderItemDown → String
-
The semantics label used for ReorderableListView to reorder an item in the
list one space down the list.
no setterinherited
- reorderItemLeft → String
-
The semantics label used for ReorderableListView to reorder an item in the
list one space left in the list.
no setterinherited
- reorderItemRight → String
-
The semantics label used for ReorderableListView to reorder an item in the
list one space right in the list.
no setterinherited
- reorderItemToEnd → String
-
The semantics label used for ReorderableListView to reorder an item in the
list to the end of the list.
no setterinherited
- reorderItemToStart → String
-
The semantics label used for ReorderableListView to reorder an item in the
list to the start of the list.
no setterinherited
- reorderItemUp → String
-
The semantics label used for ReorderableListView to reorder an item in the
list one space up the list.
no setterinherited
- rowsPerPageTitle → String
-
Title for the PaginatedDataTable's "rows per page" footer.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveButtonLabel → String
-
Label for a 'SAVE' button. Currently used by the full screen mode of the
date range picker.
no setterinherited
- scanTextButtonLabel → String
-
Label for "scan text" OCR edit buttons and menu items.
no setterinherited
- scrimLabel → String
-
Label for the scrim rendered underneath a BottomSheet.
no setterinherited
- scrimOnTapHintRaw → String
-
The raw version of scrimOnTapHint, with
$modalRouteContentName
verbatim in the string.no setter - scriptCategory → ScriptCategory
-
Defines the localized TextStyle geometry for ThemeData.textTheme.
no setteroverride
- searchFieldLabel → String
-
Label indicating that a text field is a search field. This will be used
as a hint text in the text field.
no setterinherited
- searchWebButtonLabel → String
-
Label for "search web" edit buttons and menu items.
no setterinherited
- selectAllButtonLabel → String
-
Label for "select all" edit buttons and menu items.
no setterinherited
- selectedDateLabel → String
-
The semantics label to describe the selected date in the calendar picker
invoked using showDatePicker.
no setterinherited
- selectedRowCountTitleFew → String?
-
The "few" form of selectedRowCountTitle.
no setter
- selectedRowCountTitleMany → String?
-
The "many" form of selectedRowCountTitle.
no setter
- selectedRowCountTitleOne → String?
-
The "one" form of selectedRowCountTitle.
no setter
- selectedRowCountTitleOther → String
-
The "other" form of selectedRowCountTitle.
no setter
- selectedRowCountTitleTwo → String?
-
The "two" form of selectedRowCountTitle.
no setter
- selectedRowCountTitleZero → String?
-
The "zero" form of selectedRowCountTitle.
no setter
- 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.
no setterinherited
-
Label for "share" edit buttons and menu items.
no setterinherited
- showAccountsLabel → String
-
The semantics label used for the button on UserAccountsDrawerHeader that
shows the list of accounts.
no setterinherited
- showMenuTooltip → String
-
The default PopupMenuButton tooltip.
no setterinherited
- signedInLabel → String
-
The semantics label used to indicate which account is signed in the
UserAccountsDrawerHeader widget.
no setterinherited
- tabLabelRaw → String
-
The raw version of tabLabel, with
$tabIndex
and$tabCount
verbatim in the string.no setter - timeOfDayFormatRaw → TimeOfDayFormat
-
The format to use for timeOfDayFormat.
no setter
- timePickerDialHelpText → String
-
Label used in the header of the time picker dialog created with
showTimePicker when in TimePickerEntryMode.dial.
no setterinherited
- timePickerHourLabel → String
-
Label used below the hour text field of the time picker dialog created
with showTimePicker when in TimePickerEntryMode.input.
no setterinherited
- timePickerHourModeAnnouncement → String
-
The text-to-speech announcement made when a time picker invoked using
showTimePicker is set to the hour picker mode.
no setterinherited
- timePickerInputHelpText → String
-
Label used in the header of the time picker dialog created with
showTimePicker when in TimePickerEntryMode.input.
no setterinherited
- timePickerMinuteLabel → String
-
Label used below the minute text field of the time picker dialog created
with showTimePicker when in TimePickerEntryMode.input.
no setterinherited
- timePickerMinuteModeAnnouncement → String
-
The text-to-speech announcement made when a time picker invoked using
showTimePicker is set to the minute picker mode.
no setterinherited
- unspecifiedDate → String
-
The label used to indicate a date that has not been entered or selected
yet in the date picker.
no setterinherited
- unspecifiedDateRange → String
-
The label used to indicate a date range that has not been entered or
selected yet in the date range picker.
no setterinherited
- viewLicensesButtonLabel → String
-
Label for the AboutDialog button that shows the LicensePage.
no setterinherited
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 nonexistent 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
-
scrimOnTapHint(
String modalRouteContentName) → String -
Hint text announced when tapping on the scrim underneath the content of
a modal route.
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.
-
delegates
→ const List<
LocalizationsDelegate> - A value for MaterialApp.localizationsDelegates that's typically used by internationalized apps.