DateRangeField constructor
const
DateRangeField({
- Key? key,
- required void onChanged(
- DateTimeRange? value
- DateTimeRange? initialDates,
- String? labelText,
- DateTime? firstDate,
- DateTime? endDate,
- bool autofocus = false,
- FormFieldValidator<
DateTimeRange> ? validator,
Implementation
const DateRangeField(
{super.key,
required this.onChanged,
this.initialDates,
this.labelText,
this.firstDate,
this.endDate,
this.autofocus = false,
this.validator});