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
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
deleteButtonTooltip String
The tooltip for the delete button on a Chip.
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
hideAccountsLabel String
The semantics label used for the button on UserAccountsDrawerHeader that hides the list of accounts.
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
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 ReorderableList to reorder an item in the list one space down the list.
read-only
reorderItemLeft String
The semantics label used for ReorderableList to reorder an item in the list one space left in the list.
read-only
reorderItemRight String
The semantics label used for ReorderableList to reorder an item in the list one space right in the list.
read-only
reorderItemToEnd String
The semantics label used for ReorderableList to reorder an item in the list to the end of the list.
read-only
reorderItemToStart String
The semantics label used for ReorderableList to reorder an item in the list to the start of the list.
read-only
reorderItemUp String
The semantics label used for ReorderableList 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
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
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
timePickerHourModeAnnouncement String
The text-to-speech announcement made when a time picker invoked using showTimePicker is set to the hour picker mode.
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
viewLicensesButtonLabel String
Label for the AboutDialog button that shows the LicensePage.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

aboutListTileTitle(String applicationName) String
The default title for AboutListTile.
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. [...]
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.
pageRowsInfoTitle(int firstRow, int lastRow, int rowCount, bool rowCountIsApproximate) String
Title for the PaginatedDataTable's row info footer.
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. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

of(BuildContext context) MaterialLocalizations
The MaterialLocalizations from the closest Localizations instance that encloses the given context. [...]