Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 🔨 Fix header icon color issue #442

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Fixes right icon always shows default icon in `CalendarPageHeader` when providing custom icon. [#432](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/432)
- Adds `hideDaysNotInMonth` argument in `cellBuilder` in readme. [#433](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/433)
- Fixes `titleColor` of date for `hideDaysNotInMonth: false`.
- Fixes issue of header icon `color` property in `IconDataConfig`.

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

Expand Down
3 changes: 1 addition & 2 deletions lib/src/components/headers/calendar_page_header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ class CalendarPageHeader extends StatelessWidget {
this.secondaryDate,
@Deprecated("Use HeaderStyle.decoration to provide background")
this.backgroundColor = Constants.headerBackground,
@Deprecated("Use HeaderStyle to provide icon color")
this.iconColor = Constants.black,
@Deprecated("Use HeaderStyle to provide icon color") this.iconColor,
this.headerStyle = const HeaderStyle(),
}) : assert(
titleBuilder != null || dateStringBuilder != null,
Expand Down
3 changes: 1 addition & 2 deletions lib/src/components/headers/day_page_header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ class DayPageHeader extends CalendarPageHeader {
VoidCallback? onPreviousDay,
StringProvider? dateStringBuilder,
required DateTime date,
@Deprecated("Use HeaderStyle to provide icon color")
Color iconColor = Constants.black,
@Deprecated("Use HeaderStyle to provide icon color") Color? iconColor,
@Deprecated("Use HeaderStyle to provide background")
Color backgroundColor = Constants.headerBackground,
HeaderStyle headerStyle = const HeaderStyle(),
Expand Down
3 changes: 1 addition & 2 deletions lib/src/components/headers/month_page_header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class MonthPageHeader extends CalendarPageHeader {
VoidCallback? onNextMonth,
AsyncCallback? onTitleTapped,
VoidCallback? onPreviousMonth,
@Deprecated("Use HeaderStyle to provide icon color")
Color iconColor = Constants.black,
@Deprecated("Use HeaderStyle to provide icon color") Color? iconColor,
@Deprecated("Use HeaderStyle to provide background color")
Color backgroundColor = Constants.headerBackground,
StringProvider? dateStringBuilder,
Expand Down
3 changes: 1 addition & 2 deletions lib/src/components/headers/week_page_header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ class WeekPageHeader extends CalendarPageHeader {
VoidCallback? onPreviousDay,
required DateTime startDate,
required DateTime endDate,
@Deprecated("Use HeaderStyle to provide icon color")
Color iconColor = Constants.black,
@Deprecated("Use HeaderStyle to provide icon color") Color? iconColor,
@Deprecated("Use HeaderStyle to provide background color")
Color backgroundColor = Constants.headerBackground,
StringProvider? headerStringBuilder,
Expand Down
Loading