MacosDatePickerThemeData class
A style that overrides the default appearance of MacosDatePickers when it's used with MacosDatePickerTheme or with the overall MacosTheme's MacosThemeData.datePickerTheme.
See also:
- MacosDatePickerTheme, the theme which is configured with this class.
- MacosThemeData.datePickerTheme, which can be used to override the default style for MacosDatePickers below the overall MacosTheme.
- Mixed in types
Constructors
- MacosDatePickerThemeData({Color? backgroundColor, Color? selectedElementColor, Color? selectedElementTextColor, Color? caretColor, Color? monthViewControlsColor, Color? caretControlsBackgroundColor, Color? caretControlsSeparatorColor, Color? monthViewHeaderColor, Color? monthViewSelectedDateColor, Color? monthViewSelectedDateTextColor, Color? monthViewCurrentDateColor, Color? monthViewWeekdayHeaderColor, Color? monthViewHeaderDividerColor, Color? monthViewDateColor, Color? shadowColor})
- A style that overrides the default appearance of MacosDatePickers when it's used with MacosDatePickerTheme or with the overall MacosTheme's MacosThemeData.datePickerTheme.
Properties
- backgroundColor → Color?
-
The background color of the date picker.
final
- caretColor → Color?
-
The color of the caret in the textual picker.
final
- caretControlsBackgroundColor → Color?
-
The color of the controls in the textual picker.
final
- caretControlsSeparatorColor → Color?
-
The color of the controls separator in the textual picker.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- monthViewControlsColor → Color?
-
The color of the month view controls.
final
- monthViewCurrentDateColor → Color?
-
The color of the current date in the month view.
final
- monthViewDateColor → Color?
-
The color of the date in the month view.
final
- monthViewHeaderColor → Color?
-
The color of the month view header.
final
- monthViewHeaderDividerColor → Color?
-
The color of the header divider in the month view.
final
- monthViewSelectedDateColor → Color?
-
The color of the selected date in the month view.
final
- monthViewSelectedDateTextColor → Color?
-
The text color of the selected date in the month view.
final
- monthViewWeekdayHeaderColor → Color?
-
The color of the weekday header in the month view.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedElementColor → Color?
-
The color of the selected element in the textual picker.
final
- selectedElementTextColor → Color?
-
The text color of the selected element in the textual picker.
final
- shadowColor → Color?
-
The color of the shadow in the month view.
final
Methods
-
copyWith(
{Color? backgroundColor, Color? selectedElementColor, Color? selectedElementTextColor, Color? caretColor, Color? caretControlsBackgroundColor, Color? caretControlsSeparatorColor, Color? monthViewControlsColor, Color? monthViewHeaderColor, Color? monthViewSelectedDateColor, Color? monthViewSelectedDateTextColor, Color? monthViewCurrentDateColor, Color? monthViewWeekdayHeaderColor, Color? monthViewHeaderDividerColor, Color? monthViewDateColor, Color? shadowColor}) → MacosDatePickerThemeData - Copies this MacosDatePickerThemeData into another.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
merge(
MacosDatePickerThemeData? other) → MacosDatePickerThemeData - Merges this MacosDatePickerThemeData with another.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
lerp(
MacosDatePickerThemeData a, MacosDatePickerThemeData b, double t) → MacosDatePickerThemeData - Linearly interpolate between two MacosDatePickerThemeData.