FormDateTimeRangeFieldCustomDelegate class

FormDateTimeRangeFieldDelegate that allows specifying pickers that can be selected by pickerBuilder.

dateFormat is defined as yyyyy/MM/dd(E) HH:mm.

pickerBuilderで選択可能なピッカーを指定可能なFormDateTimeRangeFieldDelegate

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

Inheritance

Constructors

FormDateTimeRangeFieldCustomDelegate({required Future<DateTimeRange?> pickerBuilder(BuildContext context, DateTimeRange currentDateTimeRange), String dateFormat = "yyyy/MM/dd(E)", String separator = " - "})
FormDateTimeRangeFieldDelegate that allows specifying pickers that can be selected by pickerBuilder.
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
defaultDateTimeRange DateTimeRange?
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
fieldEndHintText String?
Hint text of end date for text fields in the dialog.
finalinherited
fieldEndLabelText String?
Label text of end date for text fields in the dialog.
finalinherited
fieldStartHintText String?
Hint text of start date for text fields in the dialog.
finalinherited
fieldStartLabelText String?
Label text of start date for text fields in the dialog.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
helpText String?
Hint text to be displayed in the picker.
finalinherited
initialEntryMode DatePickerEntryMode
Specifies the initial input mode.
finalinherited
locale Locale?
Dialog locale.
finalinherited
pickerBuilder Future<DateTimeRange?> Function(BuildContext context, DateTimeRange currentDateTimeRange)
Builder to call picker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separator String
Characters between the start and end dates and times.
finalinherited
startDate DateTime?
The earliest date to be selected.
finalinherited

Methods

format(DateTimeRange? dateTimeRange) String
Pass DateTimeRange to get a string.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String dateTimeRangeString) DateTimeRange?
Pass a string to get DateTimeRange.
inherited
picker(BuildContext context, DateTimeRange currentDateTimeRange) Future<DateTimeRange?>
Callback to display picker.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited