DateRangePicker constructor

const DateRangePicker({
  1. Key? key,
  2. required DateTimeRange? value,
  3. ValueChanged<DateTimeRange?>? onChanged,
  4. Widget? placeholder,
  5. PromptMode mode = PromptMode.dialog,
  6. CalendarView? initialView,
  7. AlignmentGeometry? popoverAlignment,
  8. AlignmentGeometry? popoverAnchorAlignment,
  9. EdgeInsetsGeometry? popoverPadding,
  10. Widget? dialogTitle,
  11. CalendarViewType? initialViewType,
  12. DateStateBuilder? stateBuilder,
})

Implementation

const DateRangePicker({
  super.key,
  required this.value,
  this.onChanged,
  this.placeholder,
  this.mode = PromptMode.dialog,
  this.initialView,
  this.popoverAlignment,
  this.popoverAnchorAlignment,
  this.popoverPadding,
  this.dialogTitle,
  this.initialViewType,
  this.stateBuilder,
});