diff --git a/lib/src/day_view/day_view.dart b/lib/src/day_view/day_view.dart index 98006562..e687c3c8 100644 --- a/lib/src/day_view/day_view.dart +++ b/lib/src/day_view/day_view.dart @@ -911,3 +911,8 @@ class DayViewState extends State> { DateTime get currentDate => DateTime(_currentDate.year, _currentDate.month, _currentDate.day); } + +class DayHeader { + /// Hide Header Widget + static Widget hidden(DateTime date) => SizedBox.shrink(); +} diff --git a/lib/src/month_view/month_view.dart b/lib/src/month_view/month_view.dart index 2966adfd..f0a0b65d 100644 --- a/lib/src/month_view/month_view.dart +++ b/lib/src/month_view/month_view.dart @@ -667,3 +667,8 @@ class _MonthPageBuilder extends StatelessWidget { ); } } + +class MonthHeader { + /// Hide Header Widget + static Widget hidden(DateTime date) => SizedBox.shrink(); +} diff --git a/lib/src/week_view/week_view.dart b/lib/src/week_view/week_view.dart index 2147774b..667ef2b4 100644 --- a/lib/src/week_view/week_view.dart +++ b/lib/src/week_view/week_view.dart @@ -1003,3 +1003,8 @@ class WeekViewState extends State> { bool _showLiveTimeIndicator(List dates) => dates.any((date) => date.compareWithoutTime(DateTime.now())); } + +class WeekHeader { + /// Hide Header Widget + static Widget hidden(DateTime date, DateTime date1) => SizedBox.shrink(); +}