VooCalendarTheme class

Theme configuration for VooCalendar following Material 3 design

Constructors

VooCalendarTheme({required Color backgroundColor, required Color headerBackgroundColor, required Color headerTextColor, required TextStyle headerTextStyle, required TextStyle weekdayTextStyle, required TextStyle dayTextStyle, required Color dayTextColor, required Color selectedDayBackgroundColor, required Color selectedDayTextColor, required Color todayBackgroundColor, required Color todayTextColor, required Color outsideMonthTextColor, required Color rangeBackgroundColor, required Color weekendTextColor, required Color borderColor, required Color gridLineColor, required Color eventIndicatorColor, required Color eventBackgroundColor, Color? dayChipBackgroundColor, Color? planCardBackgroundColor, required TextStyle eventTitleTextStyle, required TextStyle eventDescriptionTextStyle, required TextStyle eventTimeTextStyle, required Color weekNumberBackgroundColor, required TextStyle weekNumberTextStyle, required TextStyle monthTextStyle, required TextStyle timeTextStyle, required Color disabledDateColor, required Color holidayTextColor})
const
VooCalendarTheme.dark()
Creates a dark theme for the calendar
factory
VooCalendarTheme.fromContext(BuildContext context)
Creates a calendar theme from the current Material 3 theme context
factory
VooCalendarTheme.light()
Creates a light theme for the calendar
factory

Properties

backgroundColor → Color
Background color of the calendar
final
borderColor → Color
Border color
final
dayChipBackgroundColor → Color?
Neutral fill for unselected plan day chips. When null, chips derive a subtle fill from dayTextColor over backgroundColor.
final
dayTextColor → Color
Day text color
final
dayTextStyle → TextStyle
Day text style
final
disabledDateColor → Color
Disabled date color
final
eventBackgroundColor → Color
Event background color
final
eventDescriptionTextStyle → TextStyle
Event description text style
final
eventIndicatorColor → Color
Event indicator color
final
eventTimeTextStyle → TextStyle
Event time text style
final
eventTitleTextStyle → TextStyle
Event title text style
final
gridLineColor → Color
Grid line color
final
hashCode → int
The hash code for this object.
no setterinherited
headerBackgroundColor → Color
Header background color
final
headerTextColor → Color
Header text color
final
headerTextStyle → TextStyle
Header text style
final
holidayTextColor → Color
Holiday text color
final
monthTextStyle → TextStyle
Month text style (for year view)
final
outsideMonthTextColor → Color
Outside month text color
final
planCardBackgroundColor → Color?
Surface fill for the unified plan calendar card. Must sit a step below dayChipBackgroundColor so day chips remain visible on it. When null, a subtle fill is derived from dayTextColor over backgroundColor.
final
rangeBackgroundColor → Color
Range selection background color
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedDayBackgroundColor → Color
Selected day background color
final
selectedDayTextColor → Color
Selected day text color
final
timeTextStyle → TextStyle
Time text style (for day/week views)
final
todayBackgroundColor → Color
Today background color
final
todayTextColor → Color
Today text color
final
weekdayTextStyle → TextStyle
Weekday text style
final
weekendTextColor → Color
Weekend text color
final
weekNumberBackgroundColor → Color
Week number background color
final
weekNumberTextStyle → TextStyle
Week number text style
final

Methods

copyWith({Color? backgroundColor, Color? headerBackgroundColor, Color? headerTextColor, TextStyle? headerTextStyle, TextStyle? weekdayTextStyle, TextStyle? dayTextStyle, Color? dayTextColor, Color? selectedDayBackgroundColor, Color? selectedDayTextColor, Color? todayBackgroundColor, Color? todayTextColor, Color? outsideMonthTextColor, Color? rangeBackgroundColor, Color? weekendTextColor, Color? borderColor, Color? gridLineColor, Color? eventIndicatorColor, Color? eventBackgroundColor, Color? dayChipBackgroundColor, Color? planCardBackgroundColor, TextStyle? eventTitleTextStyle, TextStyle? eventDescriptionTextStyle, TextStyle? eventTimeTextStyle, Color? weekNumberBackgroundColor, TextStyle? weekNumberTextStyle, TextStyle? monthTextStyle, TextStyle? timeTextStyle, Color? disabledDateColor, Color? holidayTextColor}) → VooCalendarTheme
Creates a copy with overrides
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