Skip to content

Commit 145dfb1

Browse files
committed
Support landscape with SafeArea
1 parent 1d52eb8 commit 145dfb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/flutter_datetime_picker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class _DatePickerState extends State<_DatePickerComponent> {
307307
child: GestureDetector(
308308
child: Material(
309309
color: theme.backgroundColor ?? Colors.white,
310-
child: _renderPickerView(theme),
310+
child: SafeArea(child: _renderPickerView(theme)),
311311
),
312312
),
313313
),

0 commit comments

Comments
 (0)