DefaultMaterialDurationPickerLocalizations class

Implemented types
Implementers

Constructors

DefaultMaterialDurationPickerLocalizations()
Constructs an object that defines the material widgets' localized strings for US English (only).
const

Properties

durationPickerDialHelpText String
Label used in the header of the duration picker dialog created with showDurationPicker when in DurationPickerEntryMode.dial.
no setteroverride
durationPickerInputHelpText String
Label used in the header of the duration picker dialog created with showDurationPicker when in DurationPickerEntryMode.input.
no setteroverride
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 setteroverride
timePickerSecondModeAnnouncement String
The text-to-speech announcement made when a time picker invoked using showTimePicker is set to the second picker mode.
no setteroverride

Methods

durationFormat() DurationFormat
The format used to lay out the duration picker.
override
formatDuration(Duration duration) String
Formats duration according to the value of durationFormat.
override
formatDurationHour(Duration duration) String
Formats Duration.hour in the given duration according to the value of DurationFormat.
override
formatDurationMinute(Duration duration) String
Formats Duration.minute in the given duration according to the value of durationFormat.
override
formatDurationSecond(Duration duration) String
Formats Duration.second in the given duration according to the value of durationFormat.
override
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

load(Locale locale) Future<MaterialDurationPickerLocalizations>
Creates an object that provides US English resource values for the material library widgets.