DateRangeField constructor

const DateRangeField({
  1. Key? key,
  2. required void onChanged(
    1. DateTimeRange? value
    ),
  3. DateTimeRange? initialDates,
  4. String? labelText,
  5. DateTime? firstDate,
  6. DateTime? endDate,
  7. bool autofocus = false,
  8. FormFieldValidator<DateTimeRange>? validator,
})

Implementation

const DateRangeField(
    {super.key,
    required this.onChanged,
    this.initialDates,
    this.labelText,
    this.firstDate,
    this.endDate,
    this.autofocus = false,
    this.validator});