FormDateTimeRangeFieldCustomDelegate constructor
const
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.
dateFormat is defined as yyyyy/MM/dd(E) HH:mm
.
pickerBuilderで選択可能なピッカーを指定可能なFormDateTimeRangeFieldDelegate。
dateFormatはyyyy/MM/dd(E)
が定義されます。
Implementation
const FormDateTimeRangeFieldCustomDelegate({
required this.pickerBuilder,
super.dateFormat = "yyyy/MM/dd(E)",
super.separator = " - ",
});