From 0858017799e029f4fcc62e103d8fac2058f63c32 Mon Sep 17 00:00:00 2001 From: Martim Silva <43602260+MartimTSilva@users.noreply.github.com> Date: Wed, 1 May 2024 14:02:53 +0100 Subject: [PATCH] Display full day events on correct date on weekView (#307) Fix #259 --- lib/src/week_view/_internal_week_view_page.dart | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lib/src/week_view/_internal_week_view_page.dart b/lib/src/week_view/_internal_week_view_page.dart index d3151bf3..baf789a9 100644 --- a/lib/src/week_view/_internal_week_view_page.dart +++ b/lib/src/week_view/_internal_week_view_page.dart @@ -226,15 +226,13 @@ class InternalWeekViewPage extends StatelessWidget { (index) { final fullDayEventList = controller.getFullDayEvent(filteredDates[index]); - return fullDayEventList.isEmpty - ? SizedBox.shrink() - : SizedBox( - width: weekTitleWidth, - child: fullDayEventBuilder.call( - fullDayEventList, - dates[index], - ), - ); + return SizedBox( + width: weekTitleWidth, + child: fullDayEventBuilder.call( + fullDayEventList, + dates[index], + ), + ); }, ) ],