diff --git a/lib/flutter_datetime_picker.dart b/lib/flutter_datetime_picker.dart index 5e1073ac..f7bbff3c 100644 --- a/lib/flutter_datetime_picker.dart +++ b/lib/flutter_datetime_picker.dart @@ -308,7 +308,7 @@ class _DatePickerState extends State<_DatePickerComponent> { ), child: GestureDetector( child: Material( - color: theme.backgroundColor, + color: theme.backgroundColor ?? Colors.white, child: _renderPickerView(theme), ), ),