Skip to content

Commit

Permalink
docs: Fixes issue #433: 📝 Add hideDaysNotInMonth argument in `cellB…
Browse files Browse the repository at this point in the history
…uilder` example
  • Loading branch information
shubham-jitiya-simform committed Dec 30, 2024
1 parent 095ede2 commit fc07709
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},
Expand Down

0 comments on commit fc07709

Please sign in to comment.