Commit 6b94e6b1 authored by xster's avatar xster Committed by Dan Field

Fix picker demo safe area layout (#22244)

parent 63efe4c4
......@@ -75,6 +75,7 @@ class _CupertinoPickerDemoState extends State<CupertinoPickerDemo> {
Widget _buildBottomPicker(Widget picker) {
return Container(
height: _kPickerSheetHeight,
padding: const EdgeInsets.only(top: 8.0),
color: CupertinoColors.white,
child: DefaultTextStyle(
style: const TextStyle(
......@@ -85,6 +86,7 @@ class _CupertinoPickerDemoState extends State<CupertinoPickerDemo> {
// Blocks taps from propagating to the modal sheet and popping.
onTap: () {},
child: SafeArea(
top: false,
child: picker,
),
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment