VooMonthViewConfig class

Configuration for Month View

Constructors

VooMonthViewConfig({bool showWeekNumbers = false, int firstDayOfWeek = 1, int weeksToShow = 6, bool showEventIndicators = true, int maxEventIndicators = 3, double eventHeightBuilder(VooCalendarEvent event)?, double minEventHeight = 80.0, ScrollController? scrollController, bool showScrollbar = false, EdgeInsetsGeometry? padding, EdgeInsets? scrollPadding})
const

Properties

eventHeightBuilder → double Function(VooCalendarEvent event)?
Builder to determine height for each event. Receives the event and returns the height in pixels. If not provided, uses minEventHeight for all events.
final
firstDayOfWeek → int
First day of week (1 = Monday, 7 = Sunday)
final
hashCode → int
The hash code for this object.
no setterinherited
maxEventIndicators → int
Maximum number of event indicators to show
final
minEventHeight → double
Minimum height for each event (default: 80.0) Used as fallback when eventHeightBuilder is not provided
final
padding → EdgeInsetsGeometry?
Padding around the month view content
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollController → ScrollController?
External scroll controller for programmatic scrolling If not provided, an internal controller will be created
final
scrollPadding → EdgeInsets?
Scroll padding for the scrollable area Adds padding to the scroll viewport edges
final
showEventIndicators → bool
Show events as indicators
final
showScrollbar → bool
Whether to show a scrollbar (default: false)
final
showWeekNumbers → bool
Show week numbers
final
weeksToShow → int
Number of weeks to display
final

Methods

copyWith({bool? showWeekNumbers, int? firstDayOfWeek, int? weeksToShow, bool? showEventIndicators, int? maxEventIndicators, double eventHeightBuilder(VooCalendarEvent event)?, double? minEventHeight, ScrollController? scrollController, bool? showScrollbar, EdgeInsetsGeometry? padding, EdgeInsets? scrollPadding}) → VooMonthViewConfig
Create a copy with modified properties
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