CupertinoDatePickerMode enum

Different display modes of CupertinoDatePicker.

See also:

  • CupertinoDatePicker, the class that implements different display modes of the iOS-style date picker.
  • CupertinoPicker, the class that implements a content agnostic spinner UI.
Inheritance

Values

time → const CupertinoDatePickerMode

Mode that shows the date in hour, minute, and (optional) an AM/PM designation. The AM/PM designation is shown only if CupertinoDatePicker does not use 24h format. Column order is subject to internationalization.

Example: 4 | 14 | PM.

date → const CupertinoDatePickerMode

Mode that shows the date in month, day of month, and year. Name of month is spelled in full. Column order is subject to internationalization.

Example: July | 13 | 2012.

dateAndTime → const CupertinoDatePickerMode

Mode that shows the date as day of the week, month, day of month and the time in hour, minute, and (optional) an AM/PM designation. The AM/PM designation is shown only if CupertinoDatePicker does not use 24h format. Column order is subject to internationalization.

Example: Fri Jul 13 | 4 | 14 | PM

monthYear → const CupertinoDatePickerMode

Mode that shows the date in month and year. Name of month is spelled in full. Column order is subject to internationalization.

Example: July | 2012.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<CupertinoDatePickerMode>
A constant List of the values in this enum, in order of their declaration.