timetable library
Classes
- AllDayEventBackgroundPainter
- AllDayEventBorder
- A modified RoundedRectangleBorder that morphs to triangular left and/or right borders if not all of the event is currently visible.
- AllDayEventBorderRadii
- AllDayEventLayoutInfo
- Information about how an all-day event was laid out.
- BasicAllDayEventWidget
- A simple Widget for displaying a BasicEvent as an all-day event.
- BasicAllDayEventWidgetStyle
- Defines visual properties for BasicAllDayEventWidget.
- BasicEvent
- A basic implementation of Event to get you started.
- BasicEventWidget
- A simple Widget for displaying a BasicEvent.
- CircleNowIndicatorShape
- A NowIndicatorShape that draws a small circle.
- CompactMonthTimetable
- A Timetable widget that displays MonthWidgets in a page view.
-
DateContent<
E extends Event> - A widget that displays Events and TimeOverlays.
- DateController
- Controls the visible dates in Timetable widgets.
- DateDividers
- A widget that displays vertical dividers between dates.
- DateDividersStyle
- Defines visual properties for DateDividers.
-
DateEvents<
E extends Event> - A widget that displays the given Events.
- DateEventsStyle
- Defines visual properties for DateEvents.
- DateHeader
- A widget that displays the weekday and date of month for the given date.
- DateHeaderStyle
- Defines visual properties for DateHeader.
- DateIndicator
- A widget that displays the date of month for the given date.
- DateIndicatorStyle
- Defines visual properties for DateIndicator.
- DatePageValue
- The value held by DateController.
- DatePageValueWithScrollActivity
- DatePageView
- A page view for displaying dates that supports shrink-wrapping in the cross axis.
- DateScrollActivity
- The equivalent of ScrollActivity for DateController.
- DaysVisibleDateRange
- The implementation for VisibleDateRange.days, VisibleDateRange.week, and VisibleDateRange.weekAligned.
- DefaultDateController
- Provides the DateController for Timetable widgets below it.
-
DefaultEventBuilder<
E extends Event> -
DefaultEventProvider<
E extends Event> - DefaultTimeController
- Provides the TimeController for Timetable widgets below it.
- DefaultTimeOverlayProvider
- DefaultTimetableCallbacks
- Provides the default callbacks for Timetable widgets below it.
- DragDateScrollActivity
- The activity a DateController performs when the user drags their finger across the screen and is settling afterwards.
- DrivenDateScrollActivity
- A scroll activity for when the DateController is animated to a new page.
- EmptyNowIndicatorShape
- A NowIndicatorShape that draws nothing.
- Event
- The base class of all events.
- FixedDaysVisibleDateRange
- A non-scrollable VisibleDateRange, used by VisibleDateRange.fixed.
- HourDividers
- A widget that displays horizontal dividers between hours of a day.
- HourDividersStyle
- Defines visual properties for HourDividers.
- IdleDateScrollActivity
- A scroll activity that does nothing.
- MonthIndicator
- A widget that displays the name of the given month.
- MonthIndicatorStyle
- Defines visual properties for MonthIndicator.
- MonthPageController
- Controls a MonthPageView.
- MonthPageView
- A page view for displaying months that supports shrink-wrapping in the cross axis.
- MonthWidget
- A widget that displays the days of the given month in a grid, with weekdays at the top and week numbers at the left.
- MonthWidgetStyle
- Defines visual properties for MonthWidget.
-
MultiDateContent<
E extends Event> - A widget that displays the content of multiple consecutive dates, zoomable and with decoration like date and hour dividers.
- MultiDateContentGeometry
-
MultiDateEventHeader<
E extends Event> - A widget that displays all-day Events.
- MultiDateEventHeaderOverflow
- The default widget for displaying the overflow of a MultiDateEventHeader.
- MultiDateEventHeaderStyle
- Defines visual properties for MultiDateEventHeader.
- MultiDateScrollController
- MultiDateScrollPosition
-
MultiDateTimetable<
E extends Event> - A Timetable widget that displays multiple consecutive days.
-
MultiDateTimetableContent<
E extends Event> -
MultiDateTimetableHeader<
E extends Event> - MultiDateTimetableStyle
- Defines visual properties for MultiDateTimetable and RecurringMultiDateTimetable.
- NowIndicator
- A widget that displays an indicator at the current date and time.
- NowIndicatorShape
- A shape that is drawn at the left side of the NowIndicator.
- NowIndicatorStyle
- Defines visual properties for NowIndicator.
- PartDayDraggableEvent
- A widget that makes its child draggable starting from long press.
-
RecurringMultiDateTimetable<
E extends Event> - A Timetable widget that displays multiple consecutive days without their dates and without a week indicator.
- TimeController
- Controls the visible time range and zoom factor in a MultiDateTimetable (or RecurringMultiDateTimetable).
- TimeControllerClientRegistration
- TimeIndicator
- A widget that displays a label at the given time.
- TimeIndicators
- A widget that positions TimeIndicator widgets.
- TimeIndicatorsChild
- Wraps children of TimeIndicators and determines their position.
- TimeIndicatorStyle
- Defines visual properties for TimeIndicator.
- TimeOverlay
- TimeOverlays
- A widget that displays the given TimeOverlays.
- TimeRange
- The value held by TimeController.
- TimetableCallbacks
-
TimetableConfig<
E extends Event> - TimetableLocalizationDe
- TimetableLocalizationEn
- TimetableLocalizationEs
- TimetableLocalizationFr
- TimetableLocalizationHu
- TimetableLocalizationIt
- TimetableLocalizationJa
- TimetableLocalizationPt
- TimetableLocalizations
- Contains localized strings for Timetable widgets in one locale.
- TimetableLocalizationsDelegate
- Provides localized strings for Timetable widgets.
- TimetableLocalizationZhCn
- TimetableLocalizationZhTw
- TimetableTheme
- Provides styles for nested Timetable widgets.
- TimetableThemeData
- Bundles styles for all Timetable widgets.
- TimeZoom
- A widget that allows the user to scroll and zoom into a single day.
- TriangleNowIndicatorShape
- A NowIndicatorShape that draws a small triangle.
- VisibleDateRange
- Defines how many days are visible at once and whether they, e.g., snap to weeks.
- Week
- WeekdayIndicator
- A widget that displays the weekday for the given date.
- WeekdayIndicatorStyle
- Defines visual properties for WeekdayIndicator.
- WeekIndicator
- A widget that displays the week number and possibly year for the given week.
- WeekIndicatorStyle
- Defines visual properties for WeekIndicator.
Enums
Extensions
- BuildContextTimetableLocalizations on BuildContext
- DateTimeTimetable on DateTime
- DateTimeWeekTimetable on DateTime
- EventExtension on Event
-
EventProviderTimetable
on EventProvider<
E> - EventToTimeOverlay on Event
- IntervalTimetable on Interval
- NullableDateTimeTimetable on DateTime?
- NullableDurationTimetable on Duration?
- NullableIntervalTimetable on Interval?
- NullableIntTimetable on int?
-
TimetableEventIterable
on Iterable<
E>
Properties
Functions
-
debugCheckHasTimetableLocalizations(
BuildContext context) → bool -
eventProviderFromFixedList<
E extends Event> (List< E> events) → EventProvider<E> -
mergeEventProviders<
E extends Event> (List< EventProvider< eventProviders) → EventProvider<E> >E> -
mergeTimeOverlayProviders(
List< TimeOverlayProvider> overlayProviders) → TimeOverlayProvider
Typedefs
-
AllDayEventBuilder<
E extends Event> = Widget Function(BuildContext context, E event, AllDayEventLayoutInfo info) -
AllDayOverflowBuilder<
E extends Event> = Widget Function(BuildContext context, DateTime date, List< E> overflowedEvents) -
DateBasedStyleProvider<
T> = T Function(DateTime date) - DateTapCallback = void Function(DateTime date)
- DateTimeTapCallback = void Function(DateTime dateTime)
- DateWidgetBuilder = Widget Function(BuildContext context, DateTime date)
-
EventBuilder<
E extends Event> = Widget Function(BuildContext context, E event) -
EventProvider<
E extends Event> = List< E> Function(Interval visibleRange) - Provides Events to Timetable widgets.
-
MonthBasedStyleProvider<
T> = T Function(DateTime month) - MonthWidgetBuilder = Widget Function(BuildContext context, DateTime month)
-
MultiDateTimetableContentBuilder
= Widget Function(BuildContext context, ValueChanged<
double> onLeadingWidthChanged) - MultiDateTimetableHeaderBuilder = Widget Function(BuildContext context, double? leadingWidth)
- PartDayDragCanceledCallback = void Function(bool wasMoved)
-
PartDayDragCanceledCallbackRaw
= void Function(GlobalKey<
MultiDateContentGeometry> ? geometryKey, bool wasMoved) -
PartDayDragCanceledCallbackWithGeometryKey
= void Function(GlobalKey<
MultiDateContentGeometry> geometryKey, bool wasMoved) - PartDayDragEndCallback = void Function(DateTime? dateTime)
-
PartDayDragEndCallbackRaw
= void Function(GlobalKey<
MultiDateContentGeometry> ? geometryKey, DateTime? dateTime) -
PartDayDragEndCallbackWithGeometryKey
= void Function(GlobalKey<
MultiDateContentGeometry> geometryKey, DateTime? dateTime) - PartDayDragStartCallback = VoidCallback
- PartDayDragUpdateCallback = void Function(DateTime dateTime)
-
PartDayDragUpdateCallbackRaw
= void Function(GlobalKey<
MultiDateContentGeometry> ? geometryKey, DateTime dateTime) -
PartDayDragUpdateCallbackWithGeometryKey
= void Function(GlobalKey<
MultiDateContentGeometry> geometryKey, DateTime dateTime) -
TimeBasedStyleProvider<
T> = T Function(Duration time) -
TimeOverlayProvider
= List<
TimeOverlay> Function(BuildContext context, DateTime date) - Provides TimeOverlays to Timetable widgets.
-
WeekBasedStyleProvider<
T> = T Function(Week week) - WeekTapCallback = void Function(Week week)
- WeekWidgetBuilder = Widget Function(BuildContext context, Week week)