DatePickerThemeData constructor
- Color? backgroundColor,
- double? elevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- ShapeBorder? shape,
- Color? headerBackgroundColor,
- Color? headerForegroundColor,
- TextStyle? headerHeadlineStyle,
- TextStyle? headerHelpStyle,
- TextStyle? weekdayStyle,
- TextStyle? dayStyle,
- MaterialStateProperty<
Color?> ? dayForegroundColor, - MaterialStateProperty<
Color?> ? dayBackgroundColor, - MaterialStateProperty<
Color?> ? dayOverlayColor, - MaterialStateProperty<
OutlinedBorder?> ? dayShape, - MaterialStateProperty<
Color?> ? todayForegroundColor, - MaterialStateProperty<
Color?> ? todayBackgroundColor, - BorderSide? todayBorder,
- TextStyle? yearStyle,
- MaterialStateProperty<
Color?> ? yearForegroundColor, - MaterialStateProperty<
Color?> ? yearBackgroundColor, - MaterialStateProperty<
Color?> ? yearOverlayColor, - Color? rangePickerBackgroundColor,
- double? rangePickerElevation,
- Color? rangePickerShadowColor,
- Color? rangePickerSurfaceTintColor,
- ShapeBorder? rangePickerShape,
- Color? rangePickerHeaderBackgroundColor,
- Color? rangePickerHeaderForegroundColor,
- TextStyle? rangePickerHeaderHeadlineStyle,
- TextStyle? rangePickerHeaderHelpStyle,
- Color? rangeSelectionBackgroundColor,
- MaterialStateProperty<
Color?> ? rangeSelectionOverlayColor, - Color? dividerColor,
- InputDecorationTheme? inputDecorationTheme,
- ButtonStyle? cancelButtonStyle,
- ButtonStyle? confirmButtonStyle,
- Locale? locale,
Creates a DatePickerThemeData that can be used to override default properties in a DatePickerTheme widget.
Implementation
const DatePickerThemeData({
this.backgroundColor,
this.elevation,
this.shadowColor,
this.surfaceTintColor,
this.shape,
this.headerBackgroundColor,
this.headerForegroundColor,
this.headerHeadlineStyle,
this.headerHelpStyle,
this.weekdayStyle,
this.dayStyle,
this.dayForegroundColor,
this.dayBackgroundColor,
this.dayOverlayColor,
this.dayShape,
this.todayForegroundColor,
this.todayBackgroundColor,
this.todayBorder,
this.yearStyle,
this.yearForegroundColor,
this.yearBackgroundColor,
this.yearOverlayColor,
this.rangePickerBackgroundColor,
this.rangePickerElevation,
this.rangePickerShadowColor,
this.rangePickerSurfaceTintColor,
this.rangePickerShape,
this.rangePickerHeaderBackgroundColor,
this.rangePickerHeaderForegroundColor,
this.rangePickerHeaderHeadlineStyle,
this.rangePickerHeaderHelpStyle,
this.rangeSelectionBackgroundColor,
this.rangeSelectionOverlayColor,
this.dividerColor,
this.inputDecorationTheme,
this.cancelButtonStyle,
this.confirmButtonStyle,
this.locale,
});