Explorar o código

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

Fix warning during initialization
Alex Hartford %!s(int64=4) %!d(string=hai) anos
pai
achega
654aca41d5
Modificáronse 1 ficheiros con 1 adicións e 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),
                 ),
               ),