Skip to content

Commit

Permalink
fix: 🐛Header view hidden functionality added #299.
Browse files Browse the repository at this point in the history
- In DayView, MonthView and WeekView hidden method added for hiding header.
  • Loading branch information
ravilsimform committed Feb 22, 2024
1 parent 965f426 commit 9dc7be3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [1.0.5] (UnReleased)

- Fixed issue related to Hiding Header [#299](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/pull/299)
- Fixed issue related to auto scroll to initial duration for day
view. [#269](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/269)
- Added
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ MonthView(
// This callback will only work if cellBuilder is null.
onEventTap: (event, date) => print(event),
onDateLongPress: (date) => print(date),
headerBuilder: MonthHeader.hidden // To hide month header
);
```

Expand Down Expand Up @@ -177,7 +178,8 @@ DayView(
startHour: 5 // To set the first hour displayed (ex: 05:00)
hourLinePainter: (lineColor, lineHeight, offset, minuteHeight, showVerticalLine, verticalLineOffset) {
return //Your custom painter.
}
},
dayTitleBuilder: DayHeader.hidden // To Hide day header
);
```

Expand Down Expand Up @@ -208,7 +210,8 @@ WeekView(
showVerticalLines: false, // Show the vertical line between days.
hourLinePainter: (lineColor, lineHeight, offset, minuteHeight, showVerticalLine, verticalLineOffset) {
return //Your custom painter.
}
},
weekPageHeaderBuilder: WeekHeader.hidden // To hide week header
);
```

Expand Down

0 comments on commit 9dc7be3

Please sign in to comment.