Skip to content

Commit ff4eb4f

Browse files
authored
Merge branch 'master' into fix/taps_in_month_view
2 parents c600044 + af26492 commit ff4eb4f

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
- Adds `hideDaysNotInMonth` argument in `cellBuilder` in readme. [#433](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/433)
77
- Fixes `titleColor` of date for `hideDaysNotInMonth: false`.
88
- Fixes tap `onTileDoubleTap` & `onTileLongTap` issue for `hideDaysNotInMonth` in month view. [#435](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/435)
9+
- Fixes `startHour` and `endHour` not updating when rebuilding in week view. [#410](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/410)
10+
- Fixes issue of header icon `color` property in `IconDataConfig`.
911

1012
# [1.3.0 - 12 Nov 2024](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/1.3.0)
1113

lib/src/components/headers/calendar_page_header.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ class CalendarPageHeader extends StatelessWidget {
8383
this.secondaryDate,
8484
@Deprecated("Use HeaderStyle.decoration to provide background")
8585
this.backgroundColor = Constants.headerBackground,
86-
@Deprecated("Use HeaderStyle to provide icon color")
87-
this.iconColor = Constants.black,
86+
@Deprecated("Use HeaderStyle to provide icon color") this.iconColor,
8887
this.headerStyle = const HeaderStyle(),
8988
}) : assert(
9089
titleBuilder != null || dateStringBuilder != null,

lib/src/components/headers/day_page_header.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class DayPageHeader extends CalendarPageHeader {
2020
VoidCallback? onPreviousDay,
2121
StringProvider? dateStringBuilder,
2222
required DateTime date,
23-
@Deprecated("Use HeaderStyle to provide icon color")
24-
Color iconColor = Constants.black,
23+
@Deprecated("Use HeaderStyle to provide icon color") Color? iconColor,
2524
@Deprecated("Use HeaderStyle to provide background")
2625
Color backgroundColor = Constants.headerBackground,
2726
HeaderStyle headerStyle = const HeaderStyle(),

lib/src/components/headers/month_page_header.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ class MonthPageHeader extends CalendarPageHeader {
1717
VoidCallback? onNextMonth,
1818
AsyncCallback? onTitleTapped,
1919
VoidCallback? onPreviousMonth,
20-
@Deprecated("Use HeaderStyle to provide icon color")
21-
Color iconColor = Constants.black,
20+
@Deprecated("Use HeaderStyle to provide icon color") Color? iconColor,
2221
@Deprecated("Use HeaderStyle to provide background color")
2322
Color backgroundColor = Constants.headerBackground,
2423
StringProvider? dateStringBuilder,

lib/src/components/headers/week_page_header.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ class WeekPageHeader extends CalendarPageHeader {
1919
VoidCallback? onPreviousDay,
2020
required DateTime startDate,
2121
required DateTime endDate,
22-
@Deprecated("Use HeaderStyle to provide icon color")
23-
Color iconColor = Constants.black,
22+
@Deprecated("Use HeaderStyle to provide icon color") Color? iconColor,
2423
@Deprecated("Use HeaderStyle to provide background color")
2524
Color backgroundColor = Constants.headerBackground,
2625
StringProvider? headerStringBuilder,

lib/src/week_view/week_view.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ class WeekViewState<T extends Object?> extends State<WeekView<T>> {
468468
}
469469

470470
_eventArranger = widget.eventArranger ?? SideEventArranger<T>();
471+
_startHour = widget.startHour;
472+
_endHour = widget.endHour;
471473

472474
// Update heights.
473475
_calculateHeights();

0 commit comments

Comments
 (0)