FormDateTimeFieldDateTimeDelegate class
Let the date and time be selected together FormDateTimeFieldDelegate.
You can have it selected within the range of startDate and endDate.
The default value when not selected is defaultDateTime.
dateFormat is defined as yyyyy/MM/dd(E) HH:mm
.
日付と時間を合わせて選択させるFormDateTimeFieldDelegate。
startDateとendDateの範囲内で選択させることができます。
選択されていない場合の初期値がdefaultDateTimeになります。
dateFormatはyyyy/MM/dd(E) HH:mm
が定義されます。
- Inheritance
-
- Object
- FormDateTimeFieldDelegate
- FormDateTimeFieldDateTimeDelegate
- Available Extensions
Constructors
- FormDateTimeFieldDateTimeDelegate({DateTime? startDate, DateTime? endDate, DateTime? defaultDateTime, String? helpText, String? cancelText, String? confirmText, Locale? locale, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText, DatePickerMode initialDatePickerMode = DatePickerMode.day, String dateFormat = "yyyy/MM/dd(E) HH:mm"})
-
Let the date and time be selected together FormDateTimeFieldDelegate.
const
Properties
- cancelText → String?
-
Picker cancel text.
finalinherited
- confirmText → String?
-
The definitive text of the picker.
finalinherited
- dateFormat → String
-
Define date and time formats.
finalinherited
- defaultDateTime → DateTime?
-
Default value if not selected.
finalinherited
- endDate → DateTime?
-
The most recent date to be selected.
finalinherited
- errorFormatText → String?
-
Text to be displayed if a formatting error occurs.
finalinherited
- errorInvalidText → String?
-
Text in case of some error.
finalinherited
- fieldHintText → String?
-
Hint text for text fields in the dialog.
finalinherited
- fieldLabelText → String?
-
Label text for text fields in the dialog.
finalinherited
- format → DateFormat
-
Get DateFormat to parse DateTime and String.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- helpText → String?
-
Hint text to be displayed in the picker.
finalinherited
- initialDatePickerMode → DatePickerMode
-
Element that appears at the beginning of the dialog.
finalinherited
- locale → Locale?
-
Dialog locale.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate → DateTime?
-
The earliest date to be selected.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
picker(
BuildContext context, DateTime currentDateTime) → Future< DateTime> -
Callback to display picker.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited