calendart library

Classes

Calendar
Multi-calendar widget.
CalendarCombo
Combo widget with calendars popup.
CalendarComboController
Allows to open and to close the combo popup, and determines if the popup is opened. Allows to paginate months by inc, dec methods.
CalendarComboState<TSelection>
State for a CalendarCombo. Implements CalendarComboController.
CalendarContext
Allows to set CalendarParameters for all Calendar, CalendarCombo widgets in the child.
CalendarContextData
Provides CalendarParameters for the specified CalendarContext.
CalendarController
Allows to paginate months by inc, dec methods.
CalendarMultiSelection
Multi dates selection.
CalendarNoneSelection
Not selectable calendar selection.
CalendarParameters
Common parameters for calendar widgets.
CalendarRangeSelection
Range dates selection.
CalendarSelection<T>
Base class for selectable calendar selections
CalendarSelectionBase
Base class for calendar selections
CalendarSelections
Helper to build calendar selections.
CalendarSingleOrNoneSelection
Single date selection with the possibility to unselect.
CalendarSingleSelection
Single date selection.
CalendarState
State for a Calendar. Implements CalendarController.
DatesRange
Define range of dates.

Enums

CalendarComboTextTitlePlacement
Define combo calendar text title placement label as InputDecoration.labelText placeholder as InputDecoration.hintText
DayType
Determines type of the calendar day extraLow - day from previous month current - day from current month today - day is today ) extraHigh -day from next month

Typedefs

CalendarDecoratorBuilder(BuildContext context, CalendarParameters parameters, DateTime displayDate, Widget calendar, CalendarController controller) Widget
Signature for calendar decorator builder. context - current build context. displayDate - displaying calendar month. calendar - calendar widget.
CalendarSelectionCanSelect(DateTime date, DayType type, int column, int row) bool
Signature for determining if specified date is selected. date - date to check selection. type - type of the calendar day. column, row - position in calendar.
CalendarTitleDecoratorBuilder(BuildContext context, CalendarParameters calendarParameters, ComboParameters comboParameters, ComboController controller, String title, bool hasSelection, Widget child) Widget
Signature for combo calendar title decorator builder
DayBuilder(BuildContext context, CalendarParameters parameters, DateTime date, DayType type, int column, int row) Widget
Signature for calendar day builder. context - current build context. parameters - calendar parameters. date - date of the day. type - type of the day. column, row - position in calendar.
MonthDecoratorBuilder(BuildContext context, CalendarParameters parameters, DateTime displayDate, Widget month) Widget
Signature for month decorator builder. context - current build context. displayDate - displaying calendar month. calendar - calendar widget.
SelectionBuilder(BuildContext context, CalendarParameters parameters, DateTime date, int column, int row, Widget day, bool preselect, bool isSelected(DateTime date)) Widget
Signature for calendar visual selection builder. context - current build context. parameters - calendar parameters. date - date of the day. type - type of the day. column, row - position in calendar. day - widget for the calendar day. preselect - determine if selection is in preparing mode (hover). isSelected - handler for check is date selected.
SelectionTitleBuilder<TSelection>(BuildContext context, CalendarParameters parameters, TSelection selection) Widget
Signature for combo calendar title builder