Skip to content

Commit 229a593

Browse files
kavantrivediPRBaraiya
authored andcommitted
fix: 🐛default backgroundColor should be as per theme.
1 parent 10237d4 commit 229a593

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/multi_day_view/multi_day_view.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class MultiDayView<T extends Object?> extends StatefulWidget {
144144
final WeekNumberBuilder? weekNumberBuilder;
145145

146146
/// Background color of week view page.
147-
final Color backgroundColor;
147+
final Color? backgroundColor;
148148

149149
/// Scroll offset of week view page.
150150
final double scrollOffset;
@@ -284,7 +284,7 @@ class MultiDayView<T extends Object?> extends StatefulWidget {
284284
this.weekTitleHeight = 50,
285285
this.weekDayBuilder,
286286
this.weekNumberBuilder,
287-
this.backgroundColor = Colors.white,
287+
this.backgroundColor,
288288
this.scrollPhysics,
289289
this.scrollOffset = 0.0,
290290
this.onEventTap,

0 commit comments

Comments
 (0)