DateTextFormField constructor

const DateTextFormField({
  1. Key? key,
  2. InputDecoration? decoration,
  3. FormFieldValidator<String>? validator,
  4. DateTime? initialDate,
  5. DateTime? firstDate,
  6. DateTime? lastDate,
  7. void onDateSelected(
    1. DateTime dateTime
    )?,
  8. TextEditingController? controller,
  9. bool withTodayButton = false,
  10. double? margin,
})

Implementation

const DateTextFormField({
  Key? key,
  this.decoration,
  this.validator,
  this.initialDate,
  this.firstDate,
  this.lastDate,
  this.onDateSelected,
  this.controller,
  this.withTodayButton = false,
  this.margin,
}) : super(key: key);