DateFormField constructor

const DateFormField({
  1. Key? key,
  2. required DateChangedArgs onChanged,
  3. FormFieldValidator<DateTime?>? validator,
  4. DateTime? initialDate,
  5. String? labelText,
  6. bool autofocus = false,
  7. DateTime? firstDate,
  8. DateTime? lastDate,
  9. TapRegionCallback? onTapOutside,
})

Implementation

const DateFormField(
    {super.key,
    required this.onChanged,
    this.validator,
    this.initialDate,
    this.labelText,
    this.autofocus = false,
    this.firstDate,
    this.lastDate,
    this.onTapOutside});