EventCalendarStyle class

Style configuration for the event calendar, allowing customization of appearance.

Constructors

EventCalendarStyle({double timeSlotHeight = 60.0, double hourSlotHeight = 60.0, double timeColumnWidth = 80.0, TextStyle timeTextStyle = const TextStyle(fontSize: 12), TextStyle eventTextStyle = const TextStyle(fontSize: 12, color: Colors.white), EdgeInsets eventPadding = const EdgeInsets.symmetric(horizontal: 4, vertical: 2), BorderRadius eventBorderRadius = const BorderRadius.all(Radius.circular(4)), Color gridColor = Colors.grey, double gridWidth = 0.5, double dayHeaderHeight = 70.0, TextStyle monthHeaderStyle = const TextStyle(fontSize: 18, fontWeight: FontWeight.bold), TextStyle dayNameStyle = const TextStyle(fontSize: 12), TextStyle dayNumberStyle = const TextStyle(fontSize: 16), Color activeDayColor = Colors.blue, Color dayIndicatorColor = Colors.transparent, double dayIndicatorSize = 32.0, TextStyle selectedDayTextStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.bold), TextStyle inactiveDayTextStyle = const TextStyle(fontSize: 16), Color dividerColor = Colors.grey, double dividerThickness = 1.0, double dividerIndent = 0.0, double dividerEndIndent = 0.0, BorderStyle dividerStyle = BorderStyle.solid, Color headerDividerColor = Colors.grey, double headerDividerThickness = 1.0, double headerDividerIndent = 0.0, double headerDividerEndIndent = 0.0, HorizontalCalendarStyle calendarStyle = const HorizontalCalendarStyle()})
Creates a style configuration for the event calendar.
const

Properties

activeDayColor Color
Color of the active day in the calendar.
final
calendarStyle HorizontalCalendarStyle
Style for the horizontal calendar, allowing customization of appearance.
final
dayHeaderHeight double
Height of the header for each day in the calendar.
final
dayIndicatorColor Color
Color of the day indicator circle in the calendar.
final
dayIndicatorSize double
Size of the day indicator circle in the calendar.
final
dayNameStyle TextStyle
Style for the text of the day names in the calendar.
final
dayNumberStyle TextStyle
Style for the text of the day numbers in the calendar.
final
dividerColor Color
Color of the divider line between time slots.
final
dividerEndIndent double
Indent for the divider line at the start of each time slot.
final
dividerIndent double
Indent for the divider line at the start of each time slot.
final
dividerStyle BorderStyle
Style for the divider line between time slots.
final
dividerThickness double
Thickness of the divider line between time slots.
final
eventBorderRadius BorderRadius
Border radius for the event containers in the calendar.
final
eventPadding EdgeInsets
Padding for the event containers in the calendar.
final
eventTextStyle TextStyle
Style for the text of the events in the calendar.
final
gridColor Color
Color of the grid lines in the calendar.
final
gridWidth double
Width of the grid lines in the calendar.
final
hashCode int
The hash code for this object.
no setterinherited
headerDividerColor Color
Divider color between the calendar header and the events grid.
final
headerDividerEndIndent double
Divider end indent between the calendar header and the events grid.
final
headerDividerIndent double
Divider indent between the calendar header and the events grid.
final
headerDividerThickness double
Divider thickness between the calendar header and the events grid.
final
hourSlotHeight double
Height of each hour slot (distance between hour timestamps)
final
inactiveDayTextStyle TextStyle
Style for the text of inactive days in the calendar.
final
monthHeaderStyle TextStyle
Style for the text of the month header in the calendar.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDayTextStyle TextStyle
Style for the text of the selected day in the calendar.
final
timeColumnWidth double
Height of each time slot in the calendar.
final
timeSlotHeight double
Height of each time slot in the calendar.
final
timeTextStyle TextStyle
Height of each time slot in the calendar.
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