TimelineScale class sealed
A slot length: minutes dividing a day (TimelineScale.minutes) or whole days (TimelineScale.day).
- Implementers
Constructors
- TimelineScale.minutes(int minutes)
-
Minutes per slot, dividing 1440 (5, 10, 15, 20, 30, 60, 120…). Not
checked here, so it can be
const:buildTimelineAxisthrows on one that does not divide a day (configuration, the programmer's mistake).constfactory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tryMinutes(
int minutes) → TimelineScale? -
A scale from data (an option, a JSON setting): null when
minutesdoes not divide a day — the web then takesdefaultScale.