DefaultMaterialLocalizations class
US English strings for the material widgets.
See also:
- GlobalMaterialLocalizations, which provides material localizations for many languages.
MaterialApp.delegates
, which automatically includes DefaultMaterialLocalizations.delegate by default.
- Implemented types
Constructors
- DefaultMaterialLocalizations()
-
Constructs an object that defines the material widgets' localized strings
for US English (only). [...]
const
Properties
- alertDialogLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when an
alert dialog widget is opened.
read-only, override
- anteMeridiemAbbreviation → String
-
The abbreviation for ante meridiem (before noon) shown in the time picker.
read-only, override
- backButtonTooltip → String
-
The BackButton's tooltip.
read-only, override
- cancelButtonLabel → String
-
Label for "cancel" buttons and menu items.
read-only, override
- closeButtonLabel → String
-
Label for "close" buttons and menu items.
read-only, override
- closeButtonTooltip → String
-
The CloseButton's tooltip.
read-only, override
- collapsedIconTapHint → String
-
The semantics hint to describe the tap action on a collapsed ExpandIcon.
read-only, override
- continueButtonLabel → String
-
Label for "continue" buttons and menu items.
read-only, override
- copyButtonLabel → String
-
Label for "copy" edit buttons and menu items.
read-only, override
- cutButtonLabel → String
-
Label for "cut" edit buttons and menu items.
read-only, override
- deleteButtonTooltip → String
-
The tooltip for the delete button on a Chip.
read-only, override
- dialogLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
dialog widget is opened.
read-only, override
- drawerLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
drawer widget is opened.
read-only, override
- expandedIconTapHint → String
-
The semantics hint to describe the tap action on an expanded ExpandIcon.
read-only, override
- firstDayOfWeekIndex → int
-
Index of the first day of week, where 0 points to Sunday, and 6 points to
Saturday. [...]
read-only, override
- hideAccountsLabel → String
-
The semantics label used for the button on UserAccountsDrawerHeader that
hides the list of accounts.
read-only, override
- licensesPageTitle → String
-
Title for the LicensePage widget.
read-only, override
- 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, override
-
narrowWeekdays
→ List<
String> -
List of week day names in narrow format, usually 1- or 2-letter
abbreviations of full names. [...]
read-only, override
- nextMonthTooltip → String
-
The tooltip for the MonthPicker's "next month" button.
read-only, override
- nextPageTooltip → String
-
The tooltip for the PaginatedDataTable's "next page" button.
read-only, override
- okButtonLabel → String
-
Label for OK buttons and menu items.
read-only, override
- openAppDrawerTooltip → String
-
The tooltip for the leading AppBar menu (a.k.a. 'hamburger') button.
read-only, override
- pasteButtonLabel → String
-
Label for "paste" edit buttons and menu items.
read-only, override
- popupMenuLabel → String
-
Label read out by accessibility tools (TalkBack or VoiceOver) when a
popup menu widget is opened.
read-only, override
- postMeridiemAbbreviation → String
-
The abbreviation for post meridiem (after noon) shown in the time picker.
read-only, override
- previousMonthTooltip → String
-
The tooltip for the MonthPicker's "previous month" button.
read-only, override
- previousPageTooltip → String
-
The tooltip for the PaginatedDataTable's "previous page" button.
read-only, override
- refreshIndicatorSemanticLabel → String
-
The default semantics label for a RefreshIndicator.
read-only, override
- reorderItemDown → String
-
The semantics label used for
ReorderableList
to reorder an item in the list one space down the list.read-only, override - reorderItemLeft → String
-
The semantics label used for
ReorderableList
to reorder an item in the list one space left in the list.read-only, override - reorderItemRight → String
-
The semantics label used for
ReorderableList
to reorder an item in the list one space right in the list.read-only, override - reorderItemToEnd → String
-
The semantics label used for
ReorderableList
to reorder an item in the list to the end of the list.read-only, override - reorderItemToStart → String
-
The semantics label used for
ReorderableList
to reorder an item in the list to the start of the list.read-only, override - reorderItemUp → String
-
The semantics label used for
ReorderableList
to reorder an item in the list one space up the list.read-only, override - rowsPerPageTitle → String
-
Title for the PaginatedDataTable's "rows per page" footer.
read-only, override
- scriptCategory → ScriptCategory
-
Defines the localized TextStyle geometry for ThemeData.textTheme. [...]
read-only, override
- 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, override
- selectAllButtonLabel → String
-
Label for "select all" edit buttons and menu items.
read-only, override
- showAccountsLabel → String
-
The semantics label used for the button on UserAccountsDrawerHeader that
shows the list of accounts.
read-only, override
- showMenuTooltip → String
-
The default PopupMenuButton tooltip.
read-only, override
- signedInLabel → String
-
The semantics label used to indicate which account is signed in in the
UserAccountsDrawerHeader widget.
read-only, override
- timePickerHourModeAnnouncement → String
-
The text-to-speech announcement made when a time picker invoked using
showTimePicker is set to the hour picker mode.
read-only, override
- timePickerMinuteModeAnnouncement → String
-
The text-to-speech announcement made when a time picker invoked using
showTimePicker is set to the minute picker mode.
read-only, override
- viewLicensesButtonLabel → String
-
Label for the AboutDialog button that shows the LicensePage.
read-only, override
- 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.
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 -
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
-
pageRowsInfoTitle(
int firstRow, int lastRow, int rowCount, bool rowCountIsApproximate) → String -
Title for the PaginatedDataTable's row info footer.
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(
{int tabIndex, int tabCount }) → String -
The accessibility label used on a tab in a TabBar. [...]
override
-
timeOfDayFormat(
{bool alwaysUse24HourFormat: false }) → TimeOfDayFormat -
The format used to lay out the time picker. [...]
override
-
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
-
load(
Locale locale) → Future< MaterialLocalizations> - Creates an object that provides US English resource values for the material library widgets. [...]
Constants
-
delegate
→ const LocalizationsDelegate<
MaterialLocalizations> -
A LocalizationsDelegate that uses DefaultMaterialLocalizations.load
to create an instance of this class. [...]
const _MaterialLocalizationsDelegate()