InputDatePickerFormField constructor Null safety

const 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. bool autofocus}
)

Implementation

const factory InputDatePickerFormField(
    {final Key? key,
    final DateTime? initialDate,
    required final DateTime firstDate,
    required final DateTime lastDate,
    final FormDateTimeField? field,
    final String? errorFormatText,
    final String? errorInvalidText,
    final String? fieldHintText,
    final String? fieldLabelText,
    final TextInputType? keyboardType,
    final bool autofocus}) = _$InputDatePickerFormField;