diff --git a/lib/widgets/routines/forms/routine.dart b/lib/widgets/routines/forms/routine.dart index d8bb5bd1..8585469b 100644 --- a/lib/widgets/routines/forms/routine.dart +++ b/lib/widgets/routines/forms/routine.dart @@ -126,7 +126,7 @@ class _RoutineFormState extends State { context: context, initialDate: startDate, firstDate: DateTime(DateTime.now().year - 10), - lastDate: DateTime.now(), + lastDate: DateTime(DateTime.now().year + 2), ); if (picked == null) { @@ -163,7 +163,7 @@ class _RoutineFormState extends State { context: context, initialDate: endDate, firstDate: DateTime(DateTime.now().year - 10), - lastDate: DateTime.now(), + lastDate: DateTime(DateTime.now().year + 2), ); if (picked == null) {