CupertinoLocalizations class Null safety
Defines the localized resource values used by the Cupertino widgets.
See also:
- DefaultCupertinoLocalizations, the default, English-only, implementation of this interface.
Constructors
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
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- modalBarrierDismissLabel → String
-
Label read out by accessibility tools (VoiceOver) for a modal
barrier to indicate that a tap dismisses the barrier.
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
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- searchTextFieldPlaceholderLabel → String
-
The default placeholder used in CupertinoSearchTextField.
read-only
- selectAllButtonLabel → String
-
The term used for selecting everything.
read-only
-
timerPickerHourLabels
→ List<
String> -
All possible hour labels that appears next to the hour picker in
CupertinoTimerPicker
read-only
-
timerPickerMinuteLabels
→ List<
String> -
All possible minute labels that appears next to the minute picker in
CupertinoTimerPicker
read-only
-
timerPickerSecondLabels
→ List<
String> -
All possible second labels that appears next to the second picker in
CupertinoTimerPicker
read-only
- todayLabel → String
-
Label shown in date pickers when the date is today.
read-only
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.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
tabSemanticsLabel(
{required int tabIndex, required int tabCount}) → String - The accessibility label used on a tab in a CupertinoTabBar.
-
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 thehour
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 theminute
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 thesecond
parameter. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → CupertinoLocalizations -
The
CupertinoLocalizations
from the closest Localizations instance that encloses the given context.