CalendarTheme class
A customizable theme for the calendar widget.
Constructors
- CalendarTheme({required Color selectedColor, required Color inRangeColor, required TextStyle inRangeTextStyle, required TextStyle selectedTextStyle, required TextStyle todayTextStyle, required TextStyle defaultTextStyle, required TextStyle disabledTextStyle, TextStyle quickDateRangeTextStyle = const TextStyle(color: Colors.black, fontSize: 14), TextStyle? monthTextStyle, TextStyle dayNameTextStyle = const TextStyle(color: Colors.black45, fontSize: 10), required double radius, required double tileSize, Color? selectedQuickDateRangeColor})
-
const
Properties
- dayNameTextStyle → TextStyle
-
The text style for the day names.
final
- defaultTextStyle → TextStyle
-
The default text style of the days.
final
- disabledTextStyle → TextStyle
-
The text style of the selected day.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inRangeColor → Color
-
The color of the days in the selected range.
final
- inRangeTextStyle → TextStyle
-
The text style of the days in the selected range.
final
- monthTextStyle → TextStyle?
-
The text style for the months.
final
- quickDateRangeTextStyle → TextStyle
-
The text style for the quick selection dateRange labels.
final
- radius → double
-
The radius of the day tiles.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color
-
The color of the selected day.
final
- selectedQuickDateRangeColor → Color?
-
The color of the selected quick selection dateRange (left border).
final
- selectedTextStyle → TextStyle
-
The text style of the selected day.
final
- tileSize → double
-
The size of the day tiles.
final
- todayTextStyle → TextStyle
-
The text style of the today day.
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