CupertinoLocalizations class

Defines the localized resource values used by the Cupertino widgets.

See also:

Implemented by

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
datePickerDateOrder → String
The order of the date elements that will be shown in CupertinoDatePicker. Can be any permutation of 'DMY' ('D': day, 'M': month, 'Y': year).
read-only
postMeridiemAbbreviation → String
The abbreviation for post meridiem (after noon) shown in the time picker.
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. [...]
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. [...]
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 CupertinoCountdownTimerPicker corresponding to the given hour value. [...]
timerPickerHourLabel(int hour) → String
Label that appears next to the hour picker in CupertinoCountdownTimerPicker 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 CupertinoCountdownTimerPicker corresponding to the given minute value. [...]
timerPickerMinuteLabel(int minute) → String
Label that appears next to the minute picker in CupertinoCountdownTimerPicker 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 CupertinoCountdownTimerPicker corresponding to the given second value. [...]
timerPickerSecondLabel(int second) → String
Label that appears next to the minute picker in CupertinoCountdownTimerPicker 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. [...]