title: How to Keep CupertinoDatePicker at the Bottom of the Screen Instead of the Whole Screen?
body: <p>So, I implemented a CupertinoDatePicker into my app, but when I try to access it, it shows up on the whole screen, rather than just the bottom.</p>
  
  <p>Here is the code: </p>
  
  <pre><code>onPressed: () {
   showCupertinoModalPopup(
   context: context,
   builder: (BuildContext context) =&gt; CupertinoDatePicker(
    mode: CupertinoDatePickerMode.dateAndTime,
    onDateTimeChanged: (DateTime date) {
     _dateTime = date;
     }),
    );
  },
  </code></pre>
  
  <p>I'm wondering why this is the case. The reference docs don't really help either.</p>