浏览代码

Merge pull request #236 from AlexHartford/master

Fix warning during initialization
刘彦博 4 年之前
父节点
当前提交
eb9701172d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/flutter_datetime_picker.dart

+ 1 - 1
lib/flutter_datetime_picker.dart

@@ -308,7 +308,7 @@ class _DatePickerState extends State<_DatePickerComponent> {
               ),
               child: GestureDetector(
                 child: Material(
-                  color: theme.backgroundColor ?? Colors.white,
+                  color: theme.backgroundColor,
                   child: _renderPickerView(theme),
                 ),
               ),