Explorar el Código

Support landscape with SafeArea

guolin hace 4 años
padre
commit
145dfb1af6
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

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