MaterialLocalizations class Null safety
Defines the localized resource values used by the Material widgets.
See also:
- DefaultMaterialLocalizations, the default, English-only, implementation of this interface.
- GlobalMaterialLocalizations, which provides material localizations for many languages.
- Implementers
Constructors
Properties
- alertDialogLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when an
alert dialog widget is opened.
read-only
- anteMeridiemAbbreviation → String
-
The abbreviation for ante meridiem (before noon) shown in the time picker.
read-only
- backButtonTooltip → String
-
The BackButton's tooltip.
read-only
- calendarModeButtonLabel → String
-
Tooltip used for the calendar mode button of the date pickers.
read-only
- cancelButtonLabel → String
-
Label for "cancel" buttons and menu items.
read-only
- closeButtonLabel → String
-
Label for "close" buttons and menu items.
read-only
- closeButtonTooltip → String
-
The CloseButton's tooltip.
read-only
- collapsedIconTapHint → String
-
The semantics hint to describe the tap action on a collapsed ExpandIcon.
read-only
- continueButtonLabel → String
-
Label for "continue" buttons and menu items.
read-only
- copyButtonLabel → String
-
Label for "copy" edit buttons and menu items.
read-only
- cutButtonLabel → String
-
Label for "cut" edit buttons and menu items.
read-only
- dateHelpText → String
-
The help text used on an empty InputDatePickerFormField to indicate
to the user the date format being asked for.
read-only
- dateInputLabel → String
-
The label used to describe the text field used in an InputDatePickerFormField.
read-only
- 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-only
- datePickerHelpText → String
-
Label used in the header of the date picker dialog created with
showDatePicker.
read-only
- dateRangeEndLabel → String
-
The label used for the ending date input field in the date range picker
created with showDateRangePicker.
read-only
- dateRangePickerHelpText → String
-
Label used in the header of the date range picker dialog created with
showDateRangePicker.
read-only
- dateRangeStartLabel → String
-
The label used for the starting date input field in the date range picker
created with showDateRangePicker.
read-only
- 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-only
- deleteButtonTooltip → String
-
The tooltip for the delete button on a Chip.
read-only
- dialModeButtonLabel → String
-
Tooltip used to put the time picker into TimePickerEntryMode.dial.
read-only
- dialogLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
dialog widget is opened.
read-only
- drawerLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
drawer widget is opened.
read-only
- expandedIconTapHint → String
-
The semantics hint to describe the tap action on an expanded ExpandIcon.
read-only
- firstDayOfWeekIndex → int
-
Index of the first day of week, where 0 points to Sunday, and 6 points to
Saturday.
read-only
- firstPageTooltip → String
-
The tooltip for the PaginatedDataTable's "first page" button.
read-only
- 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-only
- inputDateModeButtonLabel → String
-
Tooltip used for the text input mode button of the date pickers.
read-only
- inputTimeModeButtonLabel → String
-
Tooltip used to put the time picker into TimePickerEntryMode.input.
read-only
- 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-only
- 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-only
- invalidTimeLabel → String
-
Error message for the time picker dialog created with showTimePicker
when in TimePickerEntryMode.input.
read-only
- keyboardKeyAlt → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.alt.
read-only
- keyboardKeyAltGraph → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.altGraph.
read-only
- keyboardKeyBackspace → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.backspace.
read-only
- keyboardKeyCapsLock → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.capsLock.
read-only
- keyboardKeyChannelDown → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.channelDown.
read-only
- keyboardKeyChannelUp → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.channelUp.
read-only
- keyboardKeyControl → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.control.
read-only
- keyboardKeyDelete → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.delete.
read-only
- keyboardKeyEject → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.eject.
read-only
- keyboardKeyEnd → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.end.
read-only
- keyboardKeyEscape → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.escape.
read-only
- keyboardKeyFn → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.fn.
read-only
- keyboardKeyHome → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.home.
read-only
- keyboardKeyInsert → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.insert.
read-only
- keyboardKeyMeta → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.meta.
read-only
- keyboardKeyMetaMacOs → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.meta on macOS.
read-only
- keyboardKeyMetaWindows → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.meta on Windows.
read-only
- keyboardKeyNumLock → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numLock.
read-only
- keyboardKeyNumpad0 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad0.
read-only
- keyboardKeyNumpad1 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad1.
read-only
- keyboardKeyNumpad2 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad2.
read-only
- keyboardKeyNumpad3 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad3.
read-only
- keyboardKeyNumpad4 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad4.
read-only
- keyboardKeyNumpad5 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad5.
read-only
- keyboardKeyNumpad6 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad6.
read-only
- keyboardKeyNumpad7 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad7.
read-only
- keyboardKeyNumpad8 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad8.
read-only
- keyboardKeyNumpad9 → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpad9.
read-only
- keyboardKeyNumpadAdd → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadAdd.
read-only
- keyboardKeyNumpadComma → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadComma.
read-only
- keyboardKeyNumpadDecimal → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadDecimal.
read-only
- keyboardKeyNumpadDivide → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadDivide.
read-only
- keyboardKeyNumpadEnter → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadEnter.
read-only
- keyboardKeyNumpadEqual → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadEqual.
read-only
- keyboardKeyNumpadMultiply → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadMultiply.
read-only
- keyboardKeyNumpadParenLeft → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadParenLeft.
read-only
- keyboardKeyNumpadParenRight → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadParenRight.
read-only
- keyboardKeyNumpadSubtract → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.numpadSubtract.
read-only
- keyboardKeyPageDown → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.pageDown.
read-only
- keyboardKeyPageUp → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.pageUp.
read-only
- keyboardKeyPower → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.power.
read-only
- keyboardKeyPowerOff → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.powerOff.
read-only
- keyboardKeyPrintScreen → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.printScreen.
read-only
- keyboardKeyScrollLock → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.scrollLock.
read-only
- keyboardKeySelect → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.select.
read-only
- keyboardKeySpace → String
-
The shortcut label for the keyboard key LogicalKeyboardKey.space.
read-only
- lastPageTooltip → String
-
The tooltip for the PaginatedDataTable's "last page" button.
read-only
- licensesPageTitle → String
-
Title for the LicensePage widget.
read-only
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
MenuBarMenu widget is opened.
read-only
- modalBarrierDismissLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) for a modal
barrier to indicate that a tap dismisses the barrier.
read-only
- moreButtonTooltip → String
-
The tooltip for the more button on an overflowing text selection menu.
read-only
-
narrowWeekdays
→ List<
String> -
List of week day names in narrow format, usually 1- or 2-letter
abbreviations of full names.
read-only
- nextMonthTooltip → String
-
The tooltip for the CalendarDatePicker's "next month" button.
read-only
- nextPageTooltip → String
-
The tooltip for the PaginatedDataTable's "next page" button.
read-only
- okButtonLabel → String
-
Label for OK buttons and menu items.
read-only
- openAppDrawerTooltip → String
-
The tooltip for the leading AppBar menu (a.k.a. 'hamburger') button.
read-only
- pasteButtonLabel → String
-
Label for "paste" edit buttons and menu items.
read-only
- popupMenuLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
popup menu widget is opened.
read-only
- postMeridiemAbbreviation → String
-
The abbreviation for post meridiem (after noon) shown in the time picker.
read-only
- previousMonthTooltip → String
-
The tooltip for the CalendarDatePicker's "previous month" button.
read-only
- previousPageTooltip → String
-
The tooltip for the PaginatedDataTable's "previous page" button.
read-only
- refreshIndicatorSemanticLabel → String
-
The default semantics label for a RefreshIndicator.
read-only
- reorderItemDown → String
-
The semantics label used for ReorderableListView to reorder an item in the
list one space down the list.
read-only
- reorderItemLeft → String
-
The semantics label used for ReorderableListView to reorder an item in the
list one space left in the list.
read-only
- reorderItemRight → String
-
The semantics label used for ReorderableListView to reorder an item in the
list one space right in the list.
read-only
- reorderItemToEnd → String
-
The semantics label used for ReorderableListView to reorder an item in the
list to the end of the list.
read-only
- reorderItemToStart → String
-
The semantics label used for ReorderableListView to reorder an item in the
list to the start of the list.
read-only
- reorderItemUp → String
-
The semantics label used for ReorderableListView to reorder an item in the
list one space up the list.
read-only
- rowsPerPageTitle → String
-
Title for the PaginatedDataTable's "rows per page" footer.
read-only
- 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-only
- scriptCategory → ScriptCategory
-
Defines the localized TextStyle geometry for ThemeData.textTheme.
read-only
- 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-only
- selectAllButtonLabel → String
-
Label for "select all" edit buttons and menu items.
read-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-only
- showAccountsLabel → String
-
The semantics label used for the button on UserAccountsDrawerHeader that
shows the list of accounts.
read-only
- showMenuTooltip → String
-
The default PopupMenuButton tooltip.
read-only
- signedInLabel → String
-
The semantics label used to indicate which account is signed in the
UserAccountsDrawerHeader widget.
read-only
- timePickerDialHelpText → String
-
Label used in the header of the time picker dialog created with
showTimePicker when in TimePickerEntryMode.dial.
read-only
- timePickerHourLabel → String
-
Label used below the hour text field of the time picker dialog created
with showTimePicker when in TimePickerEntryMode.input.
read-only
- timePickerHourModeAnnouncement → String
-
The text-to-speech announcement made when a time picker invoked using
showTimePicker is set to the hour picker mode.
read-only
- timePickerInputHelpText → String
-
Label used in the header of the time picker dialog created with
showTimePicker when in TimePickerEntryMode.input.
read-only
- timePickerMinuteLabel → String
-
Label used below the minute text field of the time picker dialog created
with showTimePicker when in TimePickerEntryMode.input.
read-only
- timePickerMinuteModeAnnouncement → String
-
The text-to-speech announcement made when a time picker invoked using
showTimePicker is set to the minute picker mode.
read-only
- unspecifiedDate → String
-
The label used to indicate a date that has not been entered or selected
yet in the date picker.
read-only
- unspecifiedDateRange → String
-
The label used to indicate a date range that has not been entered or
selected yet in the date range picker.
read-only
- viewLicensesButtonLabel → String
-
Label for the AboutDialog button that shows the LicensePage.
read-only
Methods
-
aboutListTileTitle(
String applicationName) → String - The default title for AboutListTile.
-
dateRangeEndDateSemanticLabel(
String formattedDate) → String - The semantics label used for the selected end date in the date range picker's day grid.
-
dateRangeStartDateSemanticLabel(
String formattedDate) → String - The semantics label used for the selected start date in the date range picker's day grid.
-
formatCompactDate(
DateTime date) → String - Formats the date in a compact format.
-
formatDecimal(
int number) → String -
Formats
number
as a decimal, inserting locale-appropriate thousands separators as necessary. -
formatFullDate(
DateTime date) → String - Formats day of week, month, day of month and year in a long-width format.
-
formatHour(
TimeOfDay timeOfDay, {bool alwaysUse24HourFormat = false}) → String - Formats TimeOfDay.hour in the given time of day according to the value of timeOfDayFormat.
-
formatMediumDate(
DateTime date) → String - Formats the date using a medium-width format.
-
formatMinute(
TimeOfDay timeOfDay) → String - Formats TimeOfDay.minute in the given time of day according to the value of timeOfDayFormat.
-
formatMonthYear(
DateTime date) → String -
Formats the month and the year of the given
date
. -
formatShortDate(
DateTime date) → String - Formats the date using a short-width format.
-
formatShortMonthDay(
DateTime date) → String -
Formats the month and day of the given
date
. -
formatTimeOfDay(
TimeOfDay timeOfDay, {bool alwaysUse24HourFormat = false}) → String -
Formats
timeOfDay
according to the value of timeOfDayFormat. -
formatYear(
DateTime date) → String - Full unabbreviated year format, e.g. 2017 rather than 17.
-
licensesPackageDetailText(
int licenseCount) → String - Subtitle for a package in the LicensePage widget.
-
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.
-
parseCompactDate(
String? inputString) → DateTime? - Converts the given compact date formatted string into a DateTime.
-
remainingTextFieldCharacterCount(
int remaining) → String - The label for the TextField's character counter.
-
selectedRowCountTitle(
int selectedRowCount) → String - Title for the PaginatedDataTable's selected row count header.
-
tabLabel(
{required int tabIndex, required int tabCount}) → String - The accessibility label used on a tab in a TabBar.
-
timeOfDayFormat(
{bool alwaysUse24HourFormat = false}) → TimeOfDayFormat - The format used to lay out the time picker.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → MaterialLocalizations -
The
MaterialLocalizations
from the closest Localizations instance that encloses the given context.