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

startDateendDateの範囲内で選択させることができます。

選択されていない場合の初期値がdefaultDateTimeになります。

dateFormatyyyy/MM/dd(E) HH:mmが定義されます。

Inheritance
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", Color? backgroundColor, Color? foregroundColor, Color? primaryColor, Color? onPrimaryColor, Color? headerBackgroundColor, Color? headerForegroundColor, String? dateSelectorHelpText, String? timeSelectorHelpText})
Let the date and time be selected together FormDateTimeFieldDelegate.
const

Properties

backgroundColor Color?
Background color of the picker.
finalinherited
cancelText String?
Picker cancel text.
finalinherited
confirmText String?
The definitive text of the picker.
finalinherited
dateFormat String
Define date and time formats.
finalinherited
dateSelectorHelpText String?
helpText when selecting a date.
final
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
foregroundColor Color?
Picker text color.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
headerBackgroundColor Color?
Picker header background color.
finalinherited
headerForegroundColor Color?
Picker header foreground color.
finalinherited
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
onPrimaryColor Color?
Picker on primary color.
finalinherited
primaryColor Color?
Picker primary color.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate DateTime?
The earliest date to be selected.
finalinherited
timeSelectorHelpText String?
helpText when selecting a time.
final

Methods

format(DateTime dateTime) String
Pass DateTime to get String.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String dateTimeString) DateTime
Pass String to get DateTime.
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