Defines the localized resource values used by the Material widgets.

See also:

Implemented by

Constructors

MaterialLocalizations()

Properties

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
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
firstDayOfWeekIndex int
Index of the first day of week, where 0 points to Sunday, and 6 points to Saturday. [...]
read-only
licensesPageTitle String
Title for the LicensePage widget.
read-only
localTextGeometry TextTheme
Provides geometric text preferences for the current locale. [...]
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
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
rowsPerPageTitle String
Title for the PaginatedDataTable's "rows per page" footer.
read-only
selectAllButtonLabel String
Label for "select all" edit buttons and menu items.
read-only
showMenuTooltip String
The default PopupMenuButton tooltip.
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.
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.
selectedRowCountTitle(int selectedRowCount) String
Title for the PaginatedDataTable's selected row count header.
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 ==(other) bool
The equality operator. [...]
inherited

Static Methods

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