Pārlūkot izejas kodu

Support landscape with SafeArea

guolin 4 gadi atpakaļ
vecāks
revīzija
145dfb1af6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)),
                 ),
               ),
             ),