FlutterFormInputDateTimeController constructor
- {required String? id,
 - required FlutterFormDateTimeType dateTimeType,
 - required DateFormat dateFormat,
 - bool mandatory = true,
 - String? value,
 - String checkPageTitle(
- String? value
 
 - String checkPageDescription(
- String? value
 
 - DateTime? initialDate,
 - DateTimeRange? initialDateTimeRange,
 - void onChanged(
- String? value
 
 
Creates a FlutterFormInputDateTimeController.
The id, dateTimeType, and dateFormat are required parameters. The mandatory parameter specifies whether the input is mandatory. The value, initialDate, initialDateTimeRange, checkPageTitle, checkPageDescription, and onChanged parameters are optional.
Implementation
FlutterFormInputDateTimeController({
  required this.id,
  required this.dateTimeType,
  required this.dateFormat,
  this.mandatory = true,
  this.value,
  this.checkPageTitle,
  this.checkPageDescription,
  this.initialDate,
  this.initialDateTimeRange,
  this.onChanged,
}) {
  if (value != null) {
    value = dateFormat.format(DateTime.parse(value!));
  }
}