DateRangePicker constructor
const
DateRangePicker({
- Key? key,
- required DateTimeRange? value,
- ValueChanged<
DateTimeRange?> ? onChanged, - Widget? placeholder,
- PromptMode mode = PromptMode.dialog,
- CalendarView? initialView,
- AlignmentGeometry? popoverAlignment,
- AlignmentGeometry? popoverAnchorAlignment,
- EdgeInsetsGeometry? popoverPadding,
- Widget? dialogTitle,
- CalendarViewType? initialViewType,
- 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,
});