goToToday method

void goToToday()

Jumps to the day the user is currently on, computed from startDate. No-op if the plan is not activated or now falls outside the plan.

Implementation

void goToToday() {
  final start = _startDate;
  if (start == null) return;
  final today = PlanDayCoordinator.dayOffsetFor(DateTime.now(), start);
  if (today < 1 || today > _totalDays) return;
  selectDay(today);
}