CbConfig class

Global configuration class for calendar_builder

Constructors

CbConfig({required DateTime startDate, required DateTime endDate, required DateTime selectedDate, required DateTime selectedYear, DateTime? currentDay, List<DateTime>? eventDates, List<DateTime>? disabledDates, List<DateTime>? highlightedDates, WeekStartsFrom weekStartsFrom = WeekStartsFrom.sunday})

Properties

currentDay DateTime?
Current day/Todays Date default = now
final
disabledDates List<DateTime>?
Add disabled dates
final
endDate DateTime
EndDate of month endDate should be greater than startDate
final
eventDates List<DateTime>?
Add events
final
hashCode int
The hash code for this object.
no setterinherited
highlightedDates List<DateTime>?
Add hilighted dates
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDate DateTime
Slected Date default = startDate
final
selectedYear DateTime
Slected Year default = DateTime(StartDate.year)
final
startDate DateTime
startDate of month
final
weekStartsFrom WeekStartsFrom
weeek start from default = WeekStartsFrom.sunday
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