DefaultCupertinoLocalizations class Null safety
US English strings for the Cupertino widgets.
- Implemented types
Constructors
- DefaultCupertinoLocalizations()
-
Constructs an object that defines the cupertino widgets' localized strings
for US English (only).
const
Properties
- alertDialogLabel → String
-
The term used by the system to announce dialog alerts.
read-onlyoverride
- anteMeridiemAbbreviation → String
-
The abbreviation for ante meridiem (before noon) shown in the time picker.
read-onlyoverride
- copyButtonLabel → String
-
The term used for copying.
read-onlyoverride
- cutButtonLabel → String
-
The term used for cutting.
read-onlyoverride
- datePickerDateOrder → DatePickerDateOrder
-
The order of the date elements that will be shown in CupertinoDatePicker.
read-onlyoverride
- datePickerDateTimeOrder → DatePickerDateTimeOrder
-
The order of the time elements that will be shown in CupertinoDatePicker.
read-onlyoverride
- 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-onlyoverride
- pasteButtonLabel → String
-
The term used for pasting.
read-onlyoverride
- postMeridiemAbbreviation → String
-
The abbreviation for post meridiem (after noon) shown in the time picker.
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- searchTextFieldPlaceholderLabel → String
-
The default placeholder used in CupertinoSearchTextField.
read-onlyoverride
- selectAllButtonLabel → String
-
The term used for selecting everything.
read-onlyoverride
-
timerPickerHourLabels
→ List<
String> -
All possible hour labels that appears next to the hour picker in
CupertinoTimerPicker
read-onlyoverride
-
timerPickerMinuteLabels
→ List<
String> -
All possible minute labels that appears next to the minute picker in
CupertinoTimerPicker
read-onlyoverride
-
timerPickerSecondLabels
→ List<
String> -
All possible second labels that appears next to the second picker in
CupertinoTimerPicker
read-onlyoverride
- todayLabel → String
-
Label shown in date pickers when the date is today.
read-onlyoverride
Methods
-
datePickerDayOfMonth(
int dayIndex) → String -
Day of month that is shown in CupertinoDatePicker spinner corresponding
to the given day index.
override
-
datePickerHour(
int hour) → String -
Hour that is shown in CupertinoDatePicker spinner corresponding
to the given hour value.
override
-
datePickerHourSemanticsLabel(
int hour) → String -
Semantics label for the given hour value in CupertinoDatePicker.
override
-
datePickerMediumDate(
DateTime date) → String -
The medium-width date format that is shown in CupertinoDatePicker
spinner. Abbreviates month and days of week.
override
-
datePickerMinute(
int minute) → String -
Minute that is shown in CupertinoDatePicker spinner corresponding
to the given minute value.
override
-
datePickerMinuteSemanticsLabel(
int minute) → String -
Semantics label for the given minute value in CupertinoDatePicker.
override
-
datePickerMonth(
int monthIndex) → String -
Month that is shown in CupertinoDatePicker spinner corresponding to
the given month index.
override
-
datePickerYear(
int yearIndex) → String -
Year that is shown in CupertinoDatePicker spinner corresponding to the
given year index.
override
-
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.
override
-
timerPickerHour(
int hour) → String -
Hour that is shown in CupertinoTimerPicker corresponding to
the given hour value.
override
-
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.override -
timerPickerMinute(
int minute) → String -
Minute that is shown in CupertinoTimerPicker corresponding to
the given minute value.
override
-
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.override -
timerPickerSecond(
int second) → String -
Second that is shown in CupertinoTimerPicker corresponding to
the given second value.
override
-
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.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
load(
Locale locale) → Future< CupertinoLocalizations> - Creates an object that provides US English resource values for the cupertino library widgets.
Constants
-
delegate
→ const LocalizationsDelegate<
CupertinoLocalizations> -
A LocalizationsDelegate that uses DefaultCupertinoLocalizations.load
to create an instance of this class.
_CupertinoLocalizationsDelegate()