implemented DST-safe date arithmetic with new addDays and subtractDays extensions, updated timetable state to reset view and scroll boundaries on initialization to prevent stale views, added hard caps to calendar navigation, and updated version to 1.0.3+52
This commit is contained in:
1 parent
f185b3273a
commit
2858f910c9
10 files changed
+158
-61
No files matched your search
@@ -19,7 +19,7 @@ class _DayHeaderStrip extends StatelessWidget {
|
||||
for (var d = 0; d < 5; d++)
|
||||
Expanded(
|
||||
child: _DayHeaderCell(
|
||||
date: weekStart.add(Duration(days: d)),
|
||||
date: weekStart.addDays(d),
|
||||
today: today,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -38,7 +38,7 @@ class _WeekGrid extends StatelessWidget {
|
||||
for (var d = 0; d < 5; d++)
|
||||
Expanded(
|
||||
child: _DayColumn(
|
||||
date: weekStart.add(Duration(days: d)),
|
||||
date: weekStart.addDays(d),
|
||||
schedule: schedule,
|
||||
appointments: partitioned.inside[d],
|
||||
timeRegions: timeRegions,
|
||||
|
||||
Reference in new issue
Block a user