Skip to content

Commit

Permalink
Display full day events on correct date on weekView (#307)
Browse files Browse the repository at this point in the history
Fix #259
  • Loading branch information
MartimTSilva authored May 1, 2024
1 parent 3ed5bf6 commit 0858017
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions lib/src/week_view/_internal_week_view_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -226,15 +226,13 @@ class InternalWeekViewPage<T extends Object?> 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],
),
);
},
)
],
Expand Down

0 comments on commit 0858017

Please sign in to comment.