WeekdaySelectorThemeData class

Defines the appearance of MaterialWeekdayButton widgets.

Used by WeekdaySelectorTheme to control the appearance of MaterialWeekdayButton widgets in a widget subtree.

To obtain the current WeekdaySelectorTheme, use WeekdaySelectorTheme.of.

See also:

  • WeekdaySelectorTheme, which describes the actual configuration of a weekday selector and its buttons' theme.

The WeekdaySelectorThemeData here is inspired by theme data classes in Flutter, for example ToggleButtonsThemeData, TooltipThemeData.

Mixed in types

Constructors

WeekdaySelectorThemeData({bool? enableFeedback, Color? color, Color? selectedColor, Color? disabledColor, Color? fillColor, Color? selectedFillColor, Color? disabledFillColor, double? elevation, double? selectedElevation, double? disabledElevation, Color? focusColor, Color? selectedFocusColor, Color? hoverColor, Color? selectedHoverColor, Color? splashColor, Color? selectedSplashColor, TextStyle? textStyle, TextStyle? selectedTextStyle, TextStyle? disabledTextStyle, ShapeBorder? shape, ShapeBorder? selectedShape, ShapeBorder? disabledShape})
Creates the set of attributes used to configure the appearance of MaterialWeekdayButton widgets.

Properties

color Color?
The color for descendant MaterialWeekdayButton widgets' Text widgets if the day is enabled.
final
disabledColor Color?
The color for descendant MaterialWeekdayButton widgets' Text widgets if the day is disabled.
final
disabledElevation double?
The elevation for disabled day buttons.
final
disabledFillColor Color?
The background color for disabled day buttons.
final
disabledShape ShapeBorder?
The shape of the disabled day button's Material.
final
disabledTextStyle TextStyle?
The text style of the day button's Text descendant if the day is disabled.
final
elevation double?
The elevation for enabled day buttons.
final
enableFeedback bool?
Whether detected gestures should provide acoustic and/or haptic feedback.
final
fillColor Color?
The background color for enabled day buttons.
final
focusColor Color?
The color for the button's Material when it has the input focus and the day is enabled
final
hashCode int
The hash code for this object.
no setteroverride
hoverColor Color?
The color for the button's Material when a pointer is hovering over it and the day is enabled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedColor Color?
The color for descendant MaterialWeekdayButton widgets' Text widgets if the day is selected.
final
selectedElevation double?
The elevation for selected day buttons.
final
selectedFillColor Color?
The background color for selected day buttons.
final
selectedFocusColor Color?
The color for the button's Material when it has the input focus and the day is selected
final
selectedHoverColor Color?
The color for the button's Material when a pointer is hovering over it and the day is selected.
final
selectedShape ShapeBorder?
The shape of the selected day button's Material.
final
selectedSplashColor Color?
The splash color for the button's InkWell if the day is selected.
final
selectedTextStyle TextStyle?
The text style of the day button's Text descendant if the day is selected.
final
shape ShapeBorder?
The shape of the enabled day button's Material.
final
splashColor Color?
The splash color for the button's InkWell if the day is enabled.
final
textStyle TextStyle?
The text style of the day button's Text descendant if the day is enabled.
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
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