我不是问Webview的事.这是关于Ffltter Web应用程序的.当用户按浏览器内置的后退按钮时,我需要返回到特定的页面.
有没有人猜到了?
当我按下后退按钮时,我收到此错误
Error: Assertion failed: org-dartlang-
sdk:///flutter_web_sdk/lib/_engine/engine/history.dart:110:14
_userProvidedRouteName != null
is not true
at Object.throw_ [as throw] (http://localhost:8300/dart_sdk.js:4770:11)
at Object.assertFailed (http://localhost:8300/dart_sdk.js:4721:15)