RangePicker constructor

const RangePicker({
  1. Key? key,
  2. required DateTime? initialFirstDateTime,
  3. required DateTime? initialSecondDateTime,
  4. required DateTime? maxFirstDate,
  5. required DateTime? minFirstDateTime,
  6. required DateTime? maxSecondDate,
  7. required DateTime? minSecondDateTime,
  8. required dynamic onFirstDateChanged(
    1. DateTime
    ),
  9. required dynamic onSecondDateChanged(
    1. DateTime
    ),
  10. DatePickerDateOrder? dateOrder,
  11. required TextStyle textStyle,
  12. required CupertinoDatePickerMode mode,
  13. required bool use24hFormat,
})

Implementation

const RangePicker({
  Key? key,
  required this.initialFirstDateTime,
  required this.initialSecondDateTime,
  required this.maxFirstDate,
  required this.minFirstDateTime,
  required this.maxSecondDate,
  required this.minSecondDateTime,
  required this.onFirstDateChanged,
  required this.onSecondDateChanged,
  this.dateOrder,
  required this.textStyle,
  required this.mode,
  required this.use24hFormat,
}) : super(key: key);