weekview_calendar
library
Classes
-
CalendarBuilders<T>
-
Class containing all custom builders for
WeekView Calendar
.
-
CalendarStyle
-
Class containing styling and configuration for
WeekView Calendar
's content.
-
DaysOfWeekStyle
-
Class containing styling for
WeekView Calendar
's days of week panel.
-
Class containing styling and configuration of
WeekView Calendar
's header.
-
PositionedOffset
-
Helper class containing data for internal
Positioned
widget.
-
WeekviewCalendar<T>
-
Highly customizable, feature-packed Flutter calendar with gestures, animations and multiple formats.
-
WeekviewCalendarBase
-
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
.