TimelineOptions class final

What a timeline model is built from (the kernel fills it from its options and resources).

Constructors

TimelineOptions({required ZoneId displayZone, TimelineScale? scale, List<ResourceRow>? rows, List<Resource> resources = const [], int maxLanes = 3, int fillLanes = 12, BusinessHours? businessHours, bool eventFilter(CalEvent event)?, void onProblem(Problem)?})
const

Properties

businessHours → BusinessHours?
Shaded outside, per row: a resource's own hours (read in its zone), else these.
final
displayZone → ZoneId
final
eventFilter → bool Function(CalEvent event)?
Only the events it keeps are shown (the kernel's eventFilter).
final
fillLanes → int
Lanes of the one row of a timeline without resources (it fills the view).
final
hashCode → int
The hash code for this object.
no setterinherited
maxLanes → int
Lanes a resource row shows; past them, "+N" (rows of a fixed height).
final
onProblem → void Function(Problem)?
What expansion had to say (a series cut short).
final
resources → List<Resource>
Every resource the calendar knows: what "Unassigned" is the complement of.
final
rows → List<ResourceRow>?
The rows of a resource timeline, in order: resources (with their depth and state), group heads, "Unassigned" (flattenRows). Null: one row of every event.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → TimelineScale?
Minutes per slot (dividing a day) or days. Null: 30 minutes for a day, an hour up to a week, days beyond (defaultScale).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → ZoneId
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited