FormDateTimeFieldDelegate constructor
const
FormDateTimeFieldDelegate({
- 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,
- required String dateFormat,
- Color? backgroundColor,
- Color? foregroundColor,
- Color? primaryColor,
- Color? onPrimaryColor,
- Color? headerBackgroundColor,
- Color? headerForegroundColor,
A delegate where the form picker and formatter are defined.
There is a FormDateTimeFieldDateTimeDelegate that allows you to select both date and time together, and a FormDateTimeFieldDateDelegate that allows you to select only date.
フォームのピッカーやフォーマッタが定義されているデリゲート。
日付と時間を合わせて選択できるFormDateTimeFieldDateTimeDelegateと日付のみを選択できるFormDateTimeFieldDateDelegateがあります。
Implementation
const FormDateTimeFieldDelegate({
this.startDate,
this.endDate,
this.defaultDateTime,
this.helpText,
this.cancelText,
this.confirmText,
this.locale,
this.errorFormatText,
this.errorInvalidText,
this.fieldHintText,
this.fieldLabelText,
this.initialDatePickerMode = DatePickerMode.day,
required this.dateFormat,
this.backgroundColor,
this.foregroundColor,
this.primaryColor,
this.onPrimaryColor,
this.headerBackgroundColor,
this.headerForegroundColor,
});