table_calendar
library
Classes
-
CalendarBuilders<T>
-
Class containing all custom builders for
TableCalendar
.
-
CalendarStyle
-
Class containing styling and configuration for
TableCalendar
's content.
-
DaysOfWeekStyle
-
Class containing styling for
TableCalendar
's days of week panel.
-
Class containing styling and configuration of
TableCalendar
's header.
-
PositionedOffset
-
Helper class containing data for internal
Positioned
widget.
-
TableCalendar<T>
-
Highly customizable, feature-packed Flutter calendar with gestures, animations and multiple formats.
-
TableCalendarBase
-
Typedefs
-
DayBuilder
= Widget? Function(BuildContext context, DateTime day)
-
Signature for a function that creates a widget for a given
day
.
-
FocusedDayBuilder
= Widget? Function(BuildContext context, DateTime day, DateTime focusedDay)
-
Signature for a function that creates a widget for a given
day
.
Additionally, contains the currently focused day.
-
HighlightBuilder
= Widget? Function(BuildContext context, DateTime day, bool isWithinRange)
-
Signature for a function that creates a background highlight for a given
day
.
-
MarkerBuilder<T>
= Widget? Function(BuildContext context, DateTime day, List<T> events)
-
Signature for a function that creates an event marker for a given
day
.
Contains a list of events
associated with that day
.
-
OnDaySelected
= void Function(DateTime selectedDay, DateTime focusedDay)
-
Signature for
onDaySelected
callback. Contains the selected day and focused day.
-
OnRangeSelected
= void Function(DateTime? start, DateTime? end, DateTime focusedDay)
-
Signature for
onRangeSelected
callback.
Contains start and end of the selected range, as well as currently focused day.
-
SingleMarkerBuilder<T>
= Widget? Function(BuildContext context, DateTime day, T event)
-
Signature for a function that creates a single event marker for a given
day
.
Contains a single event
associated with that day
.
-
TextFormatter
= String Function(DateTime date, dynamic locale)
-
Signature for a function returning text that can be localized and formatted with
DateFormat
.