diff --git a/CHANGELOG.md b/CHANGELOG.md index f5069587..2ba83046 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ Default is `showWeekends = true` shows all weekdays. [#385](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/385) - Fixes issue: Event is shown when days not in current month is hidden `hideDaysNotInMonth = true`. Events are now hidden for days not in the current month if `hideDaysNotInMonth = true`. +- Fixes `startHour` and `endHour` not updating when rebuilding in week view. [#410](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/410) # [1.3.0 - 12 Nov 2024](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/1.3.0) 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();