DatePickerTheme constructor

const DatePickerTheme({
  1. PromptMode? mode,
  2. CalendarView? initialView,
  3. CalendarViewType? initialViewType,
  4. AlignmentGeometry? popoverAlignment,
  5. AlignmentGeometry? popoverAnchorAlignment,
  6. 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,
});