MacosTimePickerThemeData class
A style that overrides the default appearance of MacosTimePickers when it's used with MacosTimePickerTheme or with the overall MacosTheme's MacosThemeData.timePickerTheme.
See also:
- MacosTimePickerTheme, the theme which is configured with this class.
- MacosThemeData.timePickerTheme, which can be used to override the default style for MacosTimePickers below the overall MacosTheme.
- Mixed in types
Constructors
- MacosTimePickerThemeData({Color? backgroundColor, Color? selectedElementColor, Color? selectedElementTextColor, Color? caretColor, Color? clockViewBackgroundColor, Color? caretControlsBackgroundColor, Color? caretControlsSeparatorColor, Color? hourHandColor, Color? minuteHandColor, Color? secondHandColor, Color? hourTextColor, Color? dayPeriodTextColor, Color? clockViewBorderColor, Color? shadowColor})
- A style that overrides the default appearance of MacosTimePickers when it's used with MacosTimePickerTheme or with the overall MacosTheme's MacosThemeData.timePickerTheme.
Properties
- backgroundColor → Color?
-
The background color of the time picker.
final
- caretColor → Color?
-
The color of the caret in the textual time picker controls.
final
- caretControlsBackgroundColor → Color?
-
The background color of the caret controls in the textual time picker.
final
- caretControlsSeparatorColor → Color?
-
The color of the separator between the caret controls in the textual
time picker.
final
- clockViewBackgroundColor → Color?
-
The background color of the graphical time picker.
final
- clockViewBorderColor → Color?
-
The color of the clock's outer border in the graphical time picker.
final
- dayPeriodTextColor → Color?
-
The color of the day period text in the graphical time picker.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hourHandColor → Color?
-
The color of the hour hand in the graphical time picker.
final
- hourTextColor → Color?
-
The color of the hour text in the graphical time picker.
final
- minuteHandColor → Color?
-
The color of the minute hand in the graphical time picker.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondHandColor → Color?
-
The color of the second hand in the graphical time picker.
final
- selectedElementColor → Color?
-
The color of the selected element in the textual time picker.
final
- selectedElementTextColor → Color?
-
The text color of the selected element in the textual time picker.
final
- shadowColor → Color?
-
The color of the shadow in the graphical time picker.
final
Methods
-
copyWith(
{Color? backgroundColor, Color? selectedElementColor, Color? selectedElementTextColor, Color? caretColor, Color? caretControlsBackgroundColor, Color? caretControlsSeparatorColor, Color? clockViewBackgroundColor, Color? hourHandColor, Color? minuteHandColor, Color? secondHandColor, Color? hourTextColor, Color? dayPeriodTextColor, Color? clockViewBorderColor, Color? shadowColor}) → MacosTimePickerThemeData - Copies this MacosTimePickerThemeData into another.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
merge(
MacosTimePickerThemeData? other) → MacosTimePickerThemeData - Merges this MacosTimePickerThemeData 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(
MacosTimePickerThemeData a, MacosTimePickerThemeData b, double t) → MacosTimePickerThemeData - Linearly interpolate between two MacosTimePickerThemeData.