CupertinoDatePickerMode enum Null safety
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.
Constructors
- CupertinoDatePickerMode()
-
const
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
.CupertinoDatePickerMode()
- 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
.CupertinoDatePickerMode()
- 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
CupertinoDatePickerMode()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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.
[time, date, dateAndTime]