timeline library

The timeline without a screen: its elapsed axis, its views and its model (owner's decisions 14 and 17, 2026-11-08). Pure Dart, no Flutter.

Classes

DayScale
MinuteScale
TimelineAllRow
A timeline without resources: one row of every event.
TimelineAxis
The timeline's axis: always elapsed (ARCHITECTURE C.3). A position is real time since the axis start, so an event's length on screen is its true length, a 25-hour day is 25 hours wide and a 23-hour one 23. The slots are cut on the wall clock: the 02:00 slot happens twice on a fall-back night (once per offset), not at all on a spring-forward one.
TimelineBar
An event placed in its row, in axis positions. Its segment is cut to the axis (from/to instants; an all-day event covers its dates in the calendar's zone); startsHere/endsHere say whether it was cut there, dayIndex and part are 0. An event on several resources is one bar per row (the segment's key is <instance key>|<row key>): select and move by segment.instance. to is where it is drawn up to — a marker's flag, the axis's end — not the event's end: editing reads the event.
TimelineGroup
A head above the slots: a day (time unit) or a month (day unit).
TimelineGroupRow
TimelineModel
Everything a timeline draws, as data.
TimelineMore
Events a full row does not draw, standing in its last lane: one "+N" per stretch where they run into one another. events in the order they start (the longer first).
TimelineOptions
What a timeline model is built from (the kernel fills it from its options and resources).
TimelineResourceRow
TimelineRow
A row of a timeline: a resource, a group's head, or the one row of a timeline without resources.
TimelineRowBody
What a row draws: its events on lanes, "+N", its shading. Kept (the same object) when the row did not change, so a widget skips it.
TimelineScale
A slot length: minutes dividing a day (TimelineScale.minutes) or whole days (TimelineScale.day).
TimelineSettings
A timeline's scale, lanes and moves (the web's timeline options; follow and ticks come later, owner's decision 64).
TimelineSlot
One step of a timeline's scale: a wall-clock slot (time unit) or a day (day unit).
TimelineSpan
A stretch of the axis, in positions (nominal slots from its start).
TimelineViewModel

Enums

TimelineUnit

Properties

timelineViews → Map<String, ViewSpec>
The eight timeline views: day, week, month, year — without resources (timelineDay…) and with (resourceTimelineDay…).
final