Results 4 comments of XRookie

getx 4.6.6 Same problem,didPop is always true.

Widget appBuilder(Widget home) { return MaterialApp( home: GetMaterialApp( home: home, theme: ThemeData( brightness: Brightness.light, primaryColor: Colors.lightBlue, ), ), debugShowCheckedModeBanner: true, ); } 对MaterialApp进行嵌套,getx可以使用,缺点是设置外面MaterialApp一些属性,如主题之类的就会无效

> GetX 里面设置popGesture: false可以解决 > > ``` > GetPage( > name: '/xxx', > page: () { > return const XXXPage(); > }, > popGesture: false, > ), > ``` 无效啊,iOS依然可以手势返回