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 Navigation.of(c
Alright, so as @Darky said WillPopScope
is a perfectly acceptable answer, however, if you want to disable it across the board you can actually do the following.
Open your project in xcode, find AppDelegate.swift
and add the following:
let controller: FlutterViewController
= window?.rootViewController as! FlutterViewController;
controller.navigationController?
.interactivePopGestureRecognizer?.isEnabled = false;