table_calendar library

Classes

CalendarBuilders
Class containing all custom Builders for TableCalendar.
CalendarController
Controller required for TableCalendar. [...]
CalendarStyle
Class containing styling for TableCalendar's content.
DaysOfWeekStyle
Class containing styling for TableCalendar's days of week panel.
HeaderStyle
Class containing styling and configuration of TableCalendar's header.
TableCalendar
Highly customizable, feature-packed Flutter Calendar with gestures, animations and multiple formats.

Enums

AvailableGestures
Gestures available to interal TableCalendar's logic.
CalendarFormat
Format to display the TableCalendar with.
FormatAnimation
Available animations to update the CalendarFormat with.
StartingDayOfWeek
Available day of week formats. TableCalendar will start the week with chosen day. [...]

Typedefs

DowBuilder(BuildContext context, String weekday) Widget
Builder signature for weekday names row. Contains weekday string, which is formatted by dowTextBuilder or by default function (DateFormat.E(widget.locale).format(date)), if dowTextBuilder is null.
EnabledDayPredicate(DateTime day) bool
Signature for enabling days.
FullBuilder(BuildContext context, DateTime date, List events) Widget
Main Builder signature for TableCalendar. Contains date and list of all events associated with that date. Note that most of the time, events param will be ommited, however it is there if needed. events param can be null.
FullListBuilder(BuildContext context, DateTime date, List events, List holidays) List<Widget>
Builder signature for a list of event markers. Contains date and list of all events associated with that date. Both events and holidays params can be null.
HeaderGestureCallback(DateTime focusedDay) → void
Signature for reacting to header gestures. Exposes current month and year as a DateTime object.
OnCalendarCreated(DateTime first, DateTime last, CalendarFormat format) → void
Callback exposing initially visible days (first and last of them), as well as initial CalendarFormat.
OnDaySelected(DateTime day, List events) → void
Callback exposing currently selected day.
OnVisibleDaysChanged(DateTime first, DateTime last, CalendarFormat format) → void
Callback exposing currently visible days (first and last of them), as well as current CalendarFormat.
SingleMarkerBuilder(BuildContext context, DateTime date, dynamic event) Widget
Builder signature for a single event marker. Contains date and a single event associated with that date.
TextBuilder(DateTime date, dynamic locale) String
Builder signature for any text that can be localized and formatted with DateFormat.