CupertinoLocalizations class

Defines the localized resource values used by the Cupertino widgets.

See also:

Implementers

Constructors

CupertinoLocalizations()

Properties

alertDialogLabel String
The term used by the system to announce dialog alerts.
read-only
anteMeridiemAbbreviation String
The abbreviation for ante meridiem (before noon) shown in the time picker.
read-only
copyButtonLabel String
The term used for copying
read-only
cutButtonLabel String
The term used for cutting
read-only
datePickerDateOrder DatePickerDateOrder
The order of the date elements that will be shown in CupertinoDatePicker.
read-only
datePickerDateTimeOrder DatePickerDateTimeOrder
The order of the time elements that will be shown in CupertinoDatePicker.
read-only
pasteButtonLabel String
The term used for pasting
read-only
postMeridiemAbbreviation String
The abbreviation for post meridiem (after noon) shown in the time picker.
read-only
selectAllButtonLabel String
The term used for selecting everything
read-only
todayLabel String
Label shown in date pickers when the date is today.
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

datePickerDayOfMonth(int dayIndex) String
Day of month that is shown in CupertinoDatePicker spinner corresponding to the given day index. [...]
datePickerHour(int hour) String
Hour that is shown in CupertinoDatePicker spinner corresponding to the given hour value. [...]
datePickerHourSemanticsLabel(int hour) String
Semantics label for the given hour value in CupertinoDatePicker.
datePickerMediumDate(DateTime date) String
The medium-width date format that is shown in CupertinoDatePicker spinner. Abbreviates month and days of week. [...]
datePickerMinute(int minute) String
Minute that is shown in CupertinoDatePicker spinner corresponding to the given minute value. [...]
datePickerMinuteSemanticsLabel(int minute) String
Semantics label for the given minute value in CupertinoDatePicker.
datePickerMonth(int monthIndex) String
Month that is shown in CupertinoDatePicker spinner corresponding to the given month index. [...]
datePickerYear(int yearIndex) String
Year that is shown in CupertinoDatePicker spinner corresponding to the given year index. [...]
timerPickerHour(int hour) String
Hour that is shown in CupertinoTimerPicker corresponding to the given hour value. [...]
timerPickerHourLabel(int hour) String
Label that appears next to the hour picker in CupertinoTimerPicker when selected hour value is hour. This function will deal with pluralization based on the hour parameter.
timerPickerMinute(int minute) String
Minute that is shown in CupertinoTimerPicker corresponding to the given minute value. [...]
timerPickerMinuteLabel(int minute) String
Label that appears next to the minute picker in CupertinoTimerPicker when selected minute value is minute. This function will deal with pluralization based on the minute parameter.
timerPickerSecond(int second) String
Second that is shown in CupertinoTimerPicker corresponding to the given second value. [...]
timerPickerSecondLabel(int second) String
Label that appears next to the minute picker in CupertinoTimerPicker when selected minute value is second. This function will deal with pluralization based on the second parameter.
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) CupertinoLocalizations
The CupertinoLocalizations from the closest Localizations instance that encloses the given context. [...]