diff --git a/lib/src/day_view/day_view.dart b/lib/src/day_view/day_view.dart index ece19e73..3935aeda 100644 --- a/lib/src/day_view/day_view.dart +++ b/lib/src/day_view/day_view.dart @@ -646,6 +646,10 @@ class DayViewState extends State> { startDuration: startDuration, endDuration: endDuration, ); + } else { + return SizedBox.shrink(); + } + } /// Default view header builder. This builder will be used if /// [widget.dayTitleBuilder] is null.