From f5f6777d2ebb9912e214bd37b3cd79897561921c Mon Sep 17 00:00:00 2001 From: Shubham Jitiya Date: Wed, 4 Dec 2024 16:40:59 +0530 Subject: [PATCH] fix: Fixes issue #410: Fixed `startHour` and `endHour` rebuild issue in WeekView --- lib/src/week_view/week_view.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/week_view/week_view.dart b/lib/src/week_view/week_view.dart index f5fd9cbc..6b0001d0 100644 --- a/lib/src/week_view/week_view.dart +++ b/lib/src/week_view/week_view.dart @@ -468,6 +468,8 @@ class WeekViewState extends State> { } _eventArranger = widget.eventArranger ?? SideEventArranger(); + _startHour = widget.startHour; + _endHour = widget.endHour; // Update heights. _calculateHeights();