@@ -93,6 +93,9 @@ class WeekView<T extends Object?> extends StatefulWidget {
9393 /// Settings for quarter hour indicator settings.
9494 final HourIndicatorSettings ? quarterHourIndicatorSettings;
9595
96+ /// Settings for divider between FullDay events and weekdays header.
97+ final DividerSettings ? dividerSettings;
98+
9699 /// Settings for live time indicator settings.
97100 final LiveTimeIndicatorSettings ? liveTimeIndicatorSettings;
98101
@@ -263,6 +266,7 @@ class WeekView<T extends Object?> extends StatefulWidget {
263266 this .hourLinePainter,
264267 this .halfHourIndicatorSettings,
265268 this .quarterHourIndicatorSettings,
269+ this .dividerSettings,
266270 this .timeLineBuilder,
267271 this .timeLineWidth,
268272 this .liveTimeIndicatorSettings,
@@ -357,6 +361,7 @@ class WeekViewState<T extends Object?> extends State<WeekView<T>> {
357361 late HourIndicatorSettings _halfHourIndicatorSettings;
358362 late LiveTimeIndicatorSettings _liveTimeIndicatorSettings;
359363 late HourIndicatorSettings _quarterHourIndicatorSettings;
364+ late DividerSettings _dividerSettings;
360365
361366 late PageController _pageController;
362367
@@ -548,6 +553,7 @@ class WeekViewState<T extends Object?> extends State<WeekView<T>> {
548553 halfHourIndicatorSettings: _halfHourIndicatorSettings,
549554 quarterHourIndicatorSettings:
550555 _quarterHourIndicatorSettings,
556+ dividerSettings: _dividerSettings,
551557 dates: dates,
552558 showLiveLine: widget.showLiveTimeLineInAllDays ||
553559 _showLiveTimeIndicator (dates),
@@ -669,6 +675,11 @@ class WeekViewState<T extends Object?> extends State<WeekView<T>> {
669675
670676 assert (_quarterHourIndicatorSettings.height < _hourHeight,
671677 "quarterHourIndicator height must be less than minuteHeight * 60" );
678+
679+ _dividerSettings = widget.dividerSettings ??
680+ DividerSettings (
681+ color: context.multiDayViewTheme.borderColor,
682+ );
672683 }
673684
674685 void _calculateHeights () {
0 commit comments