소스 검색

Support landscape with SafeArea

guolin 4 년 전
부모
커밋
145dfb1af6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)),
                 ),
               ),
             ),