DateInput constructor
const
DateInput({
- Key? key,
- DatePickerController? controller,
- DateTime? initialValue,
- ValueChanged<
DateTime?> ? onChanged, - bool enabled = true,
- Widget? placeholder,
- PromptMode mode = PromptMode.dialog,
- CalendarView? initialView,
- AlignmentGeometry? popoverAlignment,
- AlignmentGeometry? popoverAnchorAlignment,
- EdgeInsetsGeometry? popoverPadding,
- Widget? dialogTitle,
- CalendarViewType? initialViewType,
- DateStateBuilder? stateBuilder,
- List<
DatePart> ? datePartsOrder, - InputPart? separator,
- Map<
DatePart, Widget> ? placeholders,
Implementation
const DateInput({
super.key,
this.controller,
this.initialValue,
this.onChanged,
this.enabled = true,
this.placeholder,
this.mode = PromptMode.dialog,
this.initialView,
this.popoverAlignment,
this.popoverAnchorAlignment,
this.popoverPadding,
this.dialogTitle,
this.initialViewType,
this.stateBuilder,
this.datePartsOrder,
this.separator,
this.placeholders,
});