title: Flutter: Disable Swipe to Navigate Back in iOS and Android
body: <p>I'm new to flutter development, and find it a bit frustrating in iOS when you have a navigation drawer and when you swipe to open it, it'll perform a <code>Navigation.of(context).pop()</code>. I would like to disable this "swipe to pop" behavior in iOS. I have been perusing the documentation, but without much luck.</p>
  
  <p>I do see something referred to as a <a href="https://docs.flutter.io/flutter/widgets/WillPopScope-class.html" rel="noreferrer"><code>WillPopScope</code></a> which seems to do the trick (<a href="https://github.com/flutter/flutter/issues/14203" rel="noreferrer">github issue for it here</a>), but I'm not 100% sure if this is the "correct" way to do it (it seems too complicated... it should be easier... like a setting on the root app).</p>