From 8ab3403cd93a78ee7c625908a65c2b1afb36daaf Mon Sep 17 00:00:00 2001 From: Matija Stepanic Date: Wed, 31 Aug 2022 08:28:43 +0200 Subject: [PATCH] Fix on page change at FlutterFlowCalendar Now month and year in the calendar header is updated on swiping the calendar body --- lib/src/flutter_flow/flutter_flow_calendar.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/flutter_flow/flutter_flow_calendar.dart b/lib/src/flutter_flow/flutter_flow_calendar.dart index 95d6523..335a6b3 100644 --- a/lib/src/flutter_flow/flutter_flow_calendar.dart +++ b/lib/src/flutter_flow/flutter_flow_calendar.dart @@ -189,6 +189,9 @@ class _FlutterFlowCalendarState extends State { } } }, + onPageChanged: (newFocusedDay) { + setState(() => focusedDay = newFocusedDay); + }, ), ], );