Przeglądaj źródła

Merge pull request #202 from sirajulhudalabs/patch-1

Remove parameter `shadowThemeOnly` from ThemeData
刘彦博 4 lat temu
rodzic
commit
22cfd57c6b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/flutter_datetime_picker.dart

+ 1 - 1
lib/flutter_datetime_picker.dart

@@ -212,7 +212,7 @@ class _DatePickerRoute<T> extends PopupRoute<T> {
         pickerModel: pickerModel,
       ),
     );
-    ThemeData inheritTheme = Theme.of(context, shadowThemeOnly: true);
+    ThemeData inheritTheme = Theme.of(context);
     if (inheritTheme != null) {
       bottomSheet = new Theme(data: inheritTheme, child: bottomSheet);
     }