MaterialLocalizations class

Defines the localized resource values used by the Material widgets.

See also:

Implementers

Constructors

MaterialLocalizations()

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
hashCode int
The hash code for this object. [...]
read-only, inherited
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
licensesPageTitle String
Title for the LicensePage widget.
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 MonthPicker'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 MonthPicker'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-only, inherited
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 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({int tabIndex, 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
Returns 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. [...]