module library

Make your own CupertinoCalendar with it's widget only

Classes

AllDayEvents
An Events which hold a whole day
CalendarTopBar
A panel Widget for displaying current YearMonth and changing to another month
CalendarTopBarStyle
Define style of CalendarTopBar
CupertinoCalendarDateRemindsView
A completed Widget for listing all DateRemind data
CupertinoCalendarSelectAction<H extends Function>
Based class for trigger event when user interact
CupertinoCalendarStyle
Assign style for CupertinoCalendar and override system's preference
DateRemind
An object of remind's basic information
DateRemindList
A list for containing Events and Holiday object
DateRemindListConversion
To handle exporting DateRemindList from varous source in flutter
DateRemindWidget<D extends DateRemind>
A widget that repersenting one of the DateRemind objects
DateRemindWidgetStyle
Apply custom style data of DateRemindWidget
DayBox
Actual display day's Widget
DayBoxContent
A generic class for building context of the grid
DayBoxStyle
Apply style for DayBox
Events
A simple event object for Cupertno Calendar
EventsDateRemindWidget
An extended class from DateRemindWidget for Events or AllDayEvents
Holiday
An object for repersenting holiday
HolidayDateRemindWidget
An extended class from DateRemindWidget for Holiday
MonthGrid
Generate a GridView of repersenting all day of current YearMonth
MonthGridState
State of MonthGrid
PlaceholderDayBox
A class which extended from DayBoxContent but absolutely nothing inside
SelectedDateRemindHandlerPreference
An handler when selected DateRemindWidget
YearMonth
Create an object that only contains year and month only
YearMonthRange
A range of YearMonth with inheritance from SetBase

Enums

FirstDayOfWeek
Define which weekday is the first day of the week
MonthApperance
Determine what pattern will be used for displaying YearMonth string

Mixins

DateRemindGenerator<D extends DateRemind>
Allowing convert to D with existed class

Extensions

FirstDayOfWeekCalculator on FirstDayOfWeek
Calculating from FirstDayOfWeek
MonthApperancePattern on MonthApperance
Generating pattern of targeted value of MonthApperance

Functions

getDefaultSelectedDate(YearMonth cym) DateTime
Get default selected date

Typedefs

CurrentDatePickedEvent = void Function(DateTime currentPicked)
DateRemindObjectResolver = void Function(List<DateRemind> dr)
Resolving date remind object which crawl from other sources
DayCondition = bool Function(DateTime dbd)
A handler for day in DayBox
SelectDateRemindHandler = void Function(DateRemind pickedEvent)
An event when selected specific pickedEvent from the list