From fc077093e4635d05402d560095f0a8914bb3b8e8 Mon Sep 17 00:00:00 2001 From: Shubham Jitiya Date: Mon, 30 Dec 2024 15:22:54 +0530 Subject: [PATCH] =?UTF-8?q?docs:=20Fixes=20issue=20#433:=20=F0=9F=93=9D=20?= =?UTF-8?q?Add=20`hideDaysNotInMonth`=20argument=20in=20`cellBuilder`=20ex?= =?UTF-8?q?ample?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + README.md | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40e28339..dc5052e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Adds `showWeekends` flag in month view to hide & show weekends view. Default is `showWeekends = true` shows all weekdays. [#385](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/385) - Events are now hidden for days not in the current month when hideDaysNotInMonth = true +- Adds `hideDaysNotInMonth` argument in `cellBuilder` example. [#433](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/433) # [1.3.0 - 12 Nov 2024](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/1.3.0) diff --git a/README.md b/README.md index 55732861..7448455f 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,13 @@ For month view MonthView( controller: EventController(), // to provide custom UI for month cells. - cellBuilder: (date, events, isToday, isInMonth) { + cellBuilder: ( + date, + events, + isToday, + isInMonth, + hideDaysNotInMonth, + ) { // Return your widget to display as month cell. return Container(); },