Widget.inputDatePickerFormField constructor Null safety

const Widget.inputDatePickerFormField(
  1. {Key? key,
  2. DateTime? initialDate,
  3. required DateTime firstDate,
  4. required DateTime lastDate,
  5. FormDateTimeField? field,
  6. String? errorFormatText,
  7. String? errorInvalidText,
  8. String? fieldHintText,
  9. String? fieldLabelText,
  10. TextInputType? keyboardType,
  11. @Default(false) bool autofocus}
)

Implementation

const factory Widget.inputDatePickerFormField({
  Key? key,
  DateTime? initialDate,
  required DateTime firstDate,
  required DateTime lastDate,
  FormDateTimeField? field,
  String? errorFormatText,
  String? errorInvalidText,
  String? fieldHintText,
  String? fieldLabelText,
  TextInputType? keyboardType,
  @Default(false) bool autofocus,
}) = InputDatePickerFormField;