DateRangeFilter constructor

const DateRangeFilter({
  1. Key? key,
  2. DateTimeRange? value,
  3. String? display,
  4. required ValueChanged<DateTimeRange?> onChange,
  5. InputDecoration decoration = const _DefaultInputDecoration(Icon(Icons.calendar_month_rounded)),
  6. DateTime? lastDate,
  7. DateTime? firstDate,
})

Implementation

const DateRangeFilter({
  Key? key,
  this.value,
  this.display,
  required this.onChange,
  this.decoration =
      const _DefaultInputDecoration(Icon(Icons.calendar_month_rounded)),
  this.lastDate,
  this.firstDate,
}) : super(key: key);