day_view library

Classes

ArrangedEvent
Item returned by EventViewArranger. [...]
ArrangerConstraints
Constraints passed to EventViewArranger.
ChainsEventArranger
EventViewArranger that tries to equally separate overlapping events.
ColumnsEventArranger
EventViewArranger that arranges events into columns.
DaySeparationComponent
ScheduleComponent for displaying day separators in every DayViewArea.daySeparationArea of DayViewSchedule.
DayViewDaysHeader
Widget that builds a child in place of each day in a day view.
DayViewEssentials
Widget that propagates essential information for other day-view widgets.
DayViewEssentialsState
DayViewProperties
Class with information that applies to day view widgets.
DayViewSchedule
Widget for display a day view schedule with the given components.
DayViewWidths
Class that contains information about widths for day view widgets.
EventViewArranger
Base for a class that arranges events displayed by EventViewComponent.
EventViewComponent
ScheduleComponent for displaying events in every DayViewArea.dayArea of DayViewSchedule.
HorizontalPositioner
Assistant for horizontal positioning for day view widgets.
ItemPosition
Recommendation for position of an item inside a DayViewSchedule.
ItemSize
Recommendation for size of an item inside a DayViewSchedule.
ScheduleComponent
Base class for a component whose built items will be displayed as children of DayViewSchedule.
SchedulePositioner
Object that assist in positioning component items inside a DayViewSchedule.
StartDurationItem
Item with startMinuteOfDay and duration that can be provided to some implementations of ScheduleComponent.
SupportLineComponent
ScheduleComponent for displaying support lines in the DayViewArea.mainArea of DayViewSchedule.
TimeIndicationComponent
ScheduleComponent for displaying time indicators in the DayViewArea.timeIndicationArea of DayViewSchedule.
TimeItem
Item with minuteOfDay that can be provided to some implementations of ScheduleComponent.

Functions

isNonNumberedDayViewArea(DayViewArea area) → bool
Returns true if area is a non-numbered area. [...]
isNumberedDayViewArea(DayViewArea area) → bool
Returns true if area is a numbered area. [...]
setAbstractWidthAndLeft(_Item item) → void
Sets supportLines abstractWidth and abstractLeft.

Enums

DayViewArea
Enum with all of the areas in a day view.

Typedefs

DayViewDaysHeaderItemBuilder(BuildContext context, DateTime day) Widget
Signature that builds an item inside a DayViewDaysHeader. [...]
GeneratedDaySeparatorBuilder(BuildContext context, ItemPosition itemPosition, ItemSize itemSize, int daySeparatorNumber) Positioned
Signature for a function that builds a generated day separator.
GeneratedSupportLineBuilder(BuildContext context, ItemPosition itemPosition, double itemWidth, int minuteOfDay) Positioned
Signature for a function that builds a generated support line.
GeneratedTimeIndicatorBuilder(BuildContext context, ItemPosition itemPosition, ItemSize itemSize, int minuteOfDay) Positioned
Signature for a function that builds a generated time indicator.
GetEventsOfDayCallback(DateTime day) → Iterable<StartDurationItem>
Signature for a function that returns events of some day. [...]
HeightOfDurationCallback(int durationInMinutes) → double
Signature for a function that returns height that some item with the given durationInMinutes should have inside a DayViewSchedule.
MinuteOfDayFromTopCallback(int minuteOfDay) → double
Signature for a function that returns the distance from top of the given minuteOdDay inside a DayViewSchedule.
StartDurationItemBuilder(BuildContext context, ItemPosition itemPosition, ItemSize itemSize) Positioned
Signature for a function that builds a StartDurationItem to be displayed as child of DayViewSchedule.
TimeItemBuilder(BuildContext context, ItemPosition itemPosition, double itemWidth) Positioned
Signature for a function that builds a TimeItem to be displayed as child of DayViewSchedule.