CalendarTextStyle class

The CalendarTextStyle is a model that defines the text style of the calendar.

If you want to specify a different style besides changing the text style of the calendar, use CalendarStyle instead of CalendarTextStyle.

Constructors

CalendarTextStyle({Color dayTextColor = Colors.black, Color focusedDayTextColor = Colors.black, Color selectedDayTextColor = Colors.white, Color rangeDayTextColor = Colors.white, Color outsideDayTextColor = Colors.grey, Color dayOfWeekTextColor = Colors.black, double? dayOfWeekFontSize, double? dayFontSize, TextStyle headerTextStyle = const TextStyle(fontSize: 17.0)})
const

Properties

dayFontSize double?
The font size of the dates.
final
dayOfWeekFontSize double?
The font size of the day of week.
final
dayOfWeekTextColor Color
The color of the day of week text.
final
dayTextColor Color
The color of the normal date.
final
focusedDayTextColor Color
The color of the focused day text.
final
hashCode int
The hash code for this object.
no setterinherited
headerTextStyle TextStyle
The font size of the calendar header.
final
outsideDayTextColor Color
The color of the date text deviates from that month in the displayed calendar.
final
rangeDayTextColor Color
The color of the selected range day text.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDayTextColor Color
The color of the selected day text.
final

Methods

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