Procházet zdrojové kódy

Merge pull request #202 from sirajulhudalabs/patch-1

Remove parameter `shadowThemeOnly` from ThemeData
刘彦博 před 4 roky
rodič
revize
22cfd57c6b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
     }