17 lines
713 B
Dart
17 lines
713 B
Dart
const double kCalendarStartHour = 7.5;
|
|
const double kCalendarEndHour = 17.25;
|
|
const Duration kCalendarTimeInterval = Duration(minutes: 30);
|
|
const double kCalendarViewHeaderHeight = 60;
|
|
|
|
/// Minimum pixels per hour. Below this, the grid scrolls vertically rather
|
|
/// than compressing further.
|
|
const double kCalendarMinPxPerHour = 56;
|
|
|
|
/// Minimum height of a lesson block in the period-based layout. The grid
|
|
/// scrolls vertically once lessons would otherwise be smaller than this.
|
|
const double kLessonBlockMinHeight = 50;
|
|
|
|
/// Fixed height of a break block in the period-based layout. Independent of
|
|
/// the actual break duration; breaks are rendered as a compact indicator.
|
|
const double kBreakBlockHeight = 28;
|