TaskCardTheme class

Theme configuration for a task card.

Defines the visual appearance of a task card including colors for background, borders, text, and interactive elements.

Constructors

TaskCardTheme({Color cardBackgroundColor = Colors.white, Color cardBorderColor = const Color(0xFFE0E0E0), double cardBorderWidth = 0.0, Color cardTitleColor = const Color.fromRGBO(0, 0, 0, 0.867), Color cardSubtitleColor = const Color.fromRGBO(0, 0, 0, 0.541), Color cardMoveIconEnabledColor = const Color.fromRGBO(25, 118, 210, 1), Color cardMoveIconDisabledColor = const Color.fromRGBO(224, 224, 224, 1), Color cardDividerColor = const Color(0xFFE0E0E0)})
Creates a TaskCardTheme with customizable colors.
const

Properties

cardBackgroundColor Color
Background color of the card.
final
cardBorderColor Color
Color of the card's border.
final
cardBorderWidth double
Width of the card's border.
final
cardDividerColor Color
Color of the card's divider.
final
cardMoveIconDisabledColor Color
Color for disabled move/drag icons.
final
cardMoveIconEnabledColor Color
Color for enabled move/drag icons.
final
cardSubtitleColor Color
Text color for the task subtitle.
final
cardTitleColor Color
Text color for the task title.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Color? cardBackgroundColor, Color? cardBorderColor, double? cardBorderWidth, Color? cardTitleColor, Color? cardSubtitleColor, Color? cardMoveIconEnabledColor, Color? cardMoveIconDisabledColor, Color? cardDividerColor}) TaskCardTheme
Creates a copy of this TaskCardTheme with modified values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited