MaterialDurationPickerLocalizations class abstract
Constructors
Properties
- durationPickerDialHelpText → String
-
Label used in the header of the duration picker dialog created with
showDurationPicker when in DurationPickerEntryMode.dial.
no setter
- durationPickerInputHelpText → String
-
Label used in the header of the duration picker dialog created with
showDurationPicker when in DurationPickerEntryMode.input.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timePickerSecondLabel → String
-
Label used below the second text field of the time picker dialog created
with showTimePicker when in TimePickerEntryMode.input.
no setter
- timePickerSecondModeAnnouncement → String
-
The text-to-speech announcement made when a time picker invoked using
showTimePicker is set to the second picker mode.
no setter
Methods
-
durationFormat(
) → DurationFormat - The format used to lay out the duration picker.
-
formatDuration(
Duration duration) → String -
Formats
durationaccording to the value of durationFormat. -
formatDurationHour(
Duration duration) → String -
Formats
Duration.hourin the given duration according to the value of DurationFormat. -
formatDurationMinute(
Duration duration) → String -
Formats
Duration.minutein the given duration according to the value of durationFormat. -
formatDurationSecond(
Duration duration) → String -
Formats
Duration.secondin the given duration according to the value of durationFormat. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → MaterialDurationPickerLocalizations -
The
MaterialLocalizationsfrom the closest Localizations instance that encloses the given context.