DatePickerTheme constructor
const
DatePickerTheme({
- PromptMode? mode,
- CalendarView? initialView,
- CalendarViewType? initialViewType,
- AlignmentGeometry? popoverAlignment,
- AlignmentGeometry? popoverAnchorAlignment,
- EdgeInsetsGeometry? popoverPadding,
Creates a DatePickerTheme.
All parameters are optional and fall back to framework defaults when null. The theme can be applied globally or to specific date picker instances.
Implementation
const DatePickerTheme({
this.mode,
this.initialView,
this.initialViewType,
this.popoverAlignment,
this.popoverAnchorAlignment,
this.popoverPadding,
});