Explorar el Código

Merge pull request #1 from AlexHartford/AlexHartford-patch-1

Fix warning during initialization
Alex Hartford hace 4 años
padre
commit
654aca41d5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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),
                 ),
               ),