-
Notifications
You must be signed in to change notification settings - Fork 40
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
history not exist #5
Comments
class NavigatorState extends State with TickerProviderStateMixin { |
老哥 history被私有了哟 |
在
|
直接更改flutter源码的做法显然不是一个好的方案。 |
Where to add in NavigatorState class? I am getting following error after adding in NavigatorState. Please guide |
Dart Error: Unhandled exception:
'package:hybrid_stack_manager/router.dart': error: line 118 pos 48: file:///Users/dengjinlong/Documents/5-Flutter/hybrid_stack_manager/lib/router.dart:118:48: Error: The getter 'history' isn't defined for the class '#lib1::NavigatorState'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'history'.
List<Route> navHistory = navState.history;
^
List<Route> navHistory = navState.history;
^
The text was updated successfully, but these errors were encountered: