Explorar o código

Support landscape with SafeArea

guolin %!s(int64=4) %!d(string=hai) anos
pai
achega
145dfb1af6
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

@@ -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)),
                 ),
               ),
             ),