-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
输入框长按的时候报错了,有谁解决了的啊 #17
Comments
Exception when selecting text inside a FormField #1. 这里面的方法试了不行啊 |
put FlutterEasyLoading under builder of MaterialApp will solve this issue https://api.flutter.dev/flutter/material/MaterialApp/builder.html |
@sckoh thanks |
这个解决方案引起另外一个导航的问题 #2 Navigator.pushNamed |
The following assertion was thrown while handling a gesture: The context used to push or pop routes from the Navigator must be that of a widget that is a descendant of a Navigator widget. |
How do you setup router by this solution, |
这样修改后 路由跳转报错 |
修改后同样报错 |
每一个widget 根节点都添加一个EasyLoading |
it works! |
this is the correct solution:
add above code to your MaterialApp😜😜😜 |
|
我也遇到了,请问怎么解决 |
不是放在child,是放在builder |
|
一样,谁解决了? |
Did you get any resolution for the navigator? |
这问题确实坑,综合上面几位歪果仁提出,和自己尝试,用下面的代码可以解决长按报错,Navigator报错问题,页面必须要向上遍历得到Context,Page要写在Home里面,EasyLoading写在builder里面就行了,把child带下去,这里的child实际就是我们在home里面写的Page
|
Just add to bottom GlobalCupertinoLocalizations.delegate where is GlobalMaterialLocalizations.delegate |
如果有谁解决了,请教下怎么解决的
The text was updated successfully, but these errors were encountered: