GithubHelp home page GithubHelp logo

simpleclub / url_strategy Goto Github PK

View Code? Open in Web Editor NEW
82.0 82.0 5.0 47 KB

Package for Flutter apps that allows setting the web URL strategy with a single line of code.

License: BSD 3-Clause "New" or "Revised" License

Dart 81.20% HTML 18.80%
dart flutter

url_strategy's People

Contributors

abhishek01039 avatar creativecreatorormaybenot avatar github-actions[bot] avatar ichordedionysos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

url_strategy's Issues

query parameter with URI using PathUrlStrategy

When I try to use setUrlStrategy(PathUrlStrategy()) to remove the # of the Flutter application URL, the query paramaters have a problem:

if the URL is like this: https://domain.com/route/123?param=https://anotherdomain.com
then the route returned in onGenerateRoute is cut off, like this: https://domain.com/route/123?param=https:, and I can't access the full value of the param query parameter (even when trying to use settings.name.routingData or settings.argument).

This only happens when I'm using PathUrlStrategy.

Dart 3.0 beta incompatibility

Hey there! Love the package - wanted to make you aware that with the new Dart 3.0 beta (and Flutter 3.8/9 beta) the package behavior has regressed and as is no longer working - the # has reappeared, when running Flutter web locally. I haven't deployed to web prod, so I cannot verify whether the behavior is active there.

Error: Expected a value of type 'Object', but got one of type 'Null'

Version:

url_strategy: ^0.2.0

Logs:

 Launching lib/main.dart on Chrome in debug mode...
Debug service listening on ws://127.0.0.1:61431/5IHGK46cKb0=/ws
πŸ’ͺ Running with sound null safety πŸ’ͺ
Connecting to VM Service at ws://127.0.0.1:61431/5IHGK46cKb0=/ws
Error: Expected a value of type 'Object', but got one of type 'Null'
    at Object.throw_ [as throw] (http://localhost:7357/dart_sdk.js:5031:11)
    at Object.castError (http://localhost:7357/dart_sdk.js:5004:15)
    at Object.cast [as as] (http://localhost:7357/dart_sdk.js:5313:17)
    at Function.as (http://localhost:7357/dart_sdk.js:6507:31)
    at Object._argumentErrors (http://localhost:7357/dart_sdk.js:5149:19)
    at Object._checkAndCall (http://localhost:7357/dart_sdk.js:5232:29)
    at Object.dcall (http://localhost:7357/dart_sdk.js:5241:17)
    at Object.ret [as replaceState] (http://localhost:7357/dart_sdk.js:57496:21)
    at _engine.CustomUrlStrategy.fromJs.replaceState (http://localhost:7357/dart_sdk.js:140909:28)
    at _engine.MultiEntriesBrowserHistory.new.tearDown (http://localhost:7357/dart_sdk.js:140621:42)
    at tearDown.next (<anonymous>)
    at runBody (http://localhost:7357/dart_sdk.js:37228:34)
    at Object._async [as async] (http://localhost:7357/dart_sdk.js:37259:7)
    at _engine.MultiEntriesBrowserHistory.new.tearDown (http://localhost:7357/dart_sdk.js:140608:20)
    at _engine.EngineSingletonFlutterWindow.new._useSingleEntryBrowserHistory (http://localhost:7357/dart_sdk.js:170501:76)
    at _useSingleEntryBrowserHistory.next (<anonymous>)
    at runBody (http://localhost:7357/dart_sdk.js:37228:34)
    at Object._async [as async] (http://localhost:7357/dart_sdk.js:37259:7)
    at _engine.EngineSingletonFlutterWindow.new.[_useSingleEntryBrowserHistory] (http://localhost:7357/dart_sdk.js:170495:20)
    at _engine.EngineSingletonFlutterWindow.new.handleNavigationMessage (http://localhost:7357/dart_sdk.js:170547:56)
    at handleNavigationMessage.next (<anonymous>)
    at runBody (http://localhost:7357/dart_sdk.js:37228:34)
    at Object._async [as async] (http://localhost:7357/dart_sdk.js:37259:7)
    at _engine.EngineSingletonFlutterWindow.new.handleNavigationMessage (http://localhost:7357/dart_sdk.js:170540:20)
    at _engine.EnginePlatformDispatcher.__.[_sendPlatformMessage] (http://localhost:7357/dart_sdk.js:155383:68)
    at _engine.EnginePlatformDispatcher.__.sendPlatformMessage (http://localhost:7357/dart_sdk.js:155213:33)
    at _DefaultBinaryMessenger.[_sendPlatformMessage] (http://localhost:7357/packages/flutter/src/services/system_channels.dart.lib.js:2180:38)
    at _DefaultBinaryMessenger.send (http://localhost:7357/packages/flutter/src/services/system_channels.dart.lib.js:2224:40)
    at OptionalMethodChannel._invokeMethod (http://localhost:7357/packages/flutter/src/services/system_channels.dart.lib.js:948:50)
    at _invokeMethod.next (<anonymous>)
    at runBody (http://localhost:7357/dart_sdk.js:37228:34)
    at Object._async [as async] (http://localhost:7357/dart_sdk.js:37259:7)
    at OptionalMethodChannel.[_invokeMethod] (http://localhost:7357/packages/flutter/src/services/system_channels.dart.lib.js:946:20)
    at OptionalMethodChannel.[_invokeMethod] (http://localhost:7357/packages/flutter/src/services/system_channels.dart.lib.js:1078:34)
    at OptionalMethodChannel.invokeMethod (http://localhost:7357/packages/flutter/src/services/system_channels.dart.lib.js:1056:36)
    at invokeMethod.next (<anonymous>)
    at runBody (http://localhost:7357/dart_sdk.js:37228:34)
    at Object._async [as async] (http://localhost:7357/dart_sdk.js:37259:7)
    at OptionalMethodChannel.invokeMethod (http://localhost:7357/packages/flutter/src/services/system_channels.dart.lib.js:1055:20)
    at Function.routeUpdated (http://localhost:7357/packages/flutter/src/services/system_navigator.dart.lib.js:47:49)
    at navigator$.NavigatorState.new.[_flushHistoryUpdates] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:24138:44)
    at navigator$.NavigatorState.new.restoreState (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:23741:36)
    at navigator$.NavigatorState.new.[_doRestore] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:23497:14)
    at navigator$.NavigatorState.new.didChangeDependencies (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:23484:31)
    at navigator$.NavigatorState.new.didChangeDependencies (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:23759:13)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48976:18)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatelessElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatelessElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatelessElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatelessElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatelessElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatelessElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatelessElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatelessElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatelessElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatelessElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatelessElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatelessElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatelessElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatelessElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatelessElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatelessElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatelessElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatelessElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.SingleChildRenderObjectElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.SingleChildRenderObjectElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.SingleChildRenderObjectElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:41742:31)
    at framework.StatelessElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatelessElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatelessElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatelessElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatelessElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatelessElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatelessElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatelessElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatelessElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatelessElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatelessElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatelessElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatelessElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatelessElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatelessElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatelessElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatelessElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatelessElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.SingleChildRenderObjectElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.SingleChildRenderObjectElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.SingleChildRenderObjectElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:41742:31)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at _InheritedNotifierElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at _InheritedNotifierElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at _InheritedNotifierElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at _InheritedNotifierElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at _InheritedNotifierElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at _InheritedNotifierElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at _InheritedNotifierElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at _InheritedNotifierElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at _InheritedNotifierElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at _InheritedNotifierElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at _InheritedNotifierElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at _InheritedNotifierElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.SingleChildRenderObjectElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.SingleChildRenderObjectElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.SingleChildRenderObjectElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:41742:31)
    at _InheritedNotifierElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at _InheritedNotifierElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at _InheritedNotifierElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at _InheritedNotifierElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at _InheritedNotifierElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at _InheritedNotifierElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.InheritedElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.InheritedElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.InheritedElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.InheritedElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.InheritedElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.InheritedElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at framework.StatefulElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatefulElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatefulElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
    at framework.StatefulElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatefulElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
    at framework.StatefulElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at _InheritedProviderScopeElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at _InheritedProviderScopeElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at _InheritedProviderScopeElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at _InheritedProviderScopeElement.new.performRebuild (http://localhost:7357/packages/provider/src/provider.dart.lib.js:695:15)
    at _InheritedProviderScopeElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at _InheritedProviderScopeElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at _InheritedProviderScopeElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at _InheritedProviderScopeElement.new.mount (http://localhost:7357/packages/provider/src/provider.dart.lib.js:603:15)
    at _InheritedProviderElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at _InheritedProviderElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at _InheritedProviderElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at _InheritedProviderElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at _InheritedProviderElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at _InheritedProviderElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at _InheritedProviderElement.new.mount (http://localhost:7357/packages/nested/nested.dart.lib.js:139:13)
    at nested.SingleChildStatelessElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at nested.SingleChildStatelessElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at nested.SingleChildStatelessElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at nested.SingleChildStatelessElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at nested.SingleChildStatelessElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at nested.SingleChildStatelessElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at nested.SingleChildStatelessElement.new.mount (http://localhost:7357/packages/nested/nested.dart.lib.js:139:13)
    at framework.StatelessElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at framework.StatelessElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at framework.StatelessElement.new.performRebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
    at framework.StatelessElement.new.rebuild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
    at framework.StatelessElement.new.[_firstBuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
    at framework.StatelessElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
    at RenderObjectToWidgetElement.new.inflateWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
    at RenderObjectToWidgetElement.new.updateChild (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
    at RenderObjectToWidgetElement.new.[_rebuild] (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:51405:37)
    at RenderObjectToWidgetElement.new.mount (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:51385:29)
    at http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:51317:37
    at framework.BuildOwner.new.buildScope (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:48555:13)
    at RenderObjectToWidgetAdapter.new.attachToRenderTree (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:51316:17)
    at binding$5.WidgetsFlutterBinding.new.attachRootWidget (http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:51186:238)
    at http://localhost:7357/packages/flutter/src/widgets/widget_span.dart.lib.js:51180:14
    at internalCallback (http://localhost:7357/dart_sdk.js:24050:11)

URLs identified as "Page with redirect" in the Google Search Console

Hello,

I have a website using this package to remove the # character in the URLs of my pages.
I am trying to get my pages indexed by Google, but each time they got rejected with the following message:
"Page with redirect".

I am wondering if the use of the package might be the cause of this redirection detected. Do you have any insights on it ?

Here are the kind of URLs I am tying to get indexed: https://www.servicesadom.com/pro/imene.bentaharr

Thank you,
Benjamin

MIME type issue

Started having a problem with the latest version of flutter where it returns that it couldn't execute the script because of MIME type issue. When debugging it returned an AbsoluteUriImport error. Which disappeared after removing the package. It is possible to have a look into that please?

setNewRoutePathis not called in Routing 2.0

After adding setPathUrlStrategy();, setNewRoutePath() was not called when overriding AppRouterDelegate to implement Routing 2.0.
This takes away from the ability to have URLs navigate the screens.

I can't display favicon and I can't go directly to a link

Hi,
I'm using your package for my web project but I've some problems:

  1. It can't loading correctly favicons that are in icons directory and show not found error in console
  2. if I try to access directly to a subpath like www.mysite.com/login it show 404 not found error, but if I go in home page and after that I navigate to the same url all works well. If I try to go with # character like this www.mysite.com/#/login all works well.

I have follow your instructions and I've put on the main method setPathUrlStrategy() and in the index.html I've add directive.
Have you some tips for help me?

url_strategy does not work in flutter web

I used url_strategy in flutter web channel stable and beta.

I run flutter web in Landscape its work (image 1)

but when I changed Dimensions to Samsung or motog4 or iphone 5s does not work.(image 2),

this is my code:

import 'package:url_strategy/url_strategy.dart';

void main() {

  // Here we set the URL strategy for our web app.

  setPathUrlStrategy();

  runApp(MyApp());

}

image 1
image 2

onUnknownRoute not called with PathUrlStrategy

Hello !

If i use the method setPathUrlStrategy(), the method onUnknownRoute() is not called anymore and it redirects me to the main page.
The error is for example :

Could not navigate to initial route.
The requested route name was: "/gfdjfc"
There was no corresponding route in the app, and therefore the initial route specified will be ignored and "/" will be used instead.

If i have the UrlPathStrategy it's working fine.
Thanks

Update LICENSE files & name references

This is essentially a single step:

  • Find and replace creativecreatorormaybenot with simpleclub (for the GitHub links et al.)

This will also update the LICENSEs. And then we want to publish 0.1.1.

setting url strategy fails when flutter web app is pushed to github pages

Hello:

  1. The Flutter Web app has two pages: main and terms.
  2. When setPathUrlStrategy(); it works in debug mode
  3. But when pushed to Github pages it fails
  4. Below is relevant code
    ...
    import 'package:url_strategy/url_strategy.dart';
    ...
   void main() {
     setPathUrlStrategy();
     runApp(const MyApp());
   }
   ...
   ...
   @override
    Widget build(BuildContext context) {
      return MaterialApp(
        initialRoute: '/',
        routes: {
          '/': (context) => MyHomePage(),
          '/terms': (context) => TermsPage(),
        },
      );
    }

When running locally using flutter run -d chrome, I can access the two pages using localhost:xxxx/ and localhost:xxxx/terms but the same does not work when the build/web directory has been pushed to github pages. In Github pages, the main page loads but the /terms url fails.

If I do not set the url strategy then .../#/ loads the home page and ../#/terms loads the terms page.

Is there some other settings that needs to be updated. Thanks

Without `#`, how can I open flutter route via full address?

Let say I have named route /login. Now I'm using this url_strategy plugin so the URL would be:
https://f7dc-36-84-85-125.ngrok.io/login.

Then if I refresh the page, or if I open on the new tab. I suspect it'll be translated to:
https://f7dc-36-84-85-125.ngrok.io/login/index.html

which is of course non-existent on the server.
So it'll be dead 404 error, am I right?

So how can I open /login route via full address which is https://f7dc-36-84-85-125.ngrok.io/login?

Error: Dart library 'dart:ui_web' is not available on this platform.

My app is being developed to support both web and mobile. When I develop for the web first and then run it on mobile, I encounter the following package error:

main() {
...
  if(kIsWeb) {
  usePathUrlStrategy();
  }
...
}

Error:

Launching lib/main.dart on iPhone 14 in debug mode...
Running pod install...                                             19.8s
Running Xcode build...                                                  
Xcode build done.                                           292.3s
Failed to build iOS app
Error (Xcode): ../../flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:5:8: Error: Dart library 'dart:ui_web' is not available on this platform.


Could not build the application for the simulator.
Error launching application on iPhone 14.

After using setPathUrlStrategy() named routes doesn't work

Hi, I'm doing a simple test and after calling setPathUrlStrategy() the # was removed from the url but if I enter in the /lesson the SplashPage still appears. The onGenerateRoute is entering in case '/lesson' but I don't know why the Container doesn't appear.

I've found one person in StackOverflow with the same issue but without solution. Does anyone know how to fix that?

My MaterialApp contains these parameters:

      initialRoute: '/',
      onGenerateRoute: (settings) {
        switch (settings.name) {
          case '/':
            return MaterialPageRoute(builder: (_) => const SplashPage());
          case '/lesson':
            return MaterialPageRoute(
              builder: (_) => Container(
                color: Colors.red,
              ),
            );
          default:
            return MaterialPageRoute(
                builder: (_) => Scaffold(
                      body: Center(
                          child: Text(
                              'Page not found: ${settings.name}')),
                    ));
        }
      },

EDIT:

I have switched the initialRoute from '/' to '/home'. When I open the app (even without /home) it opens in the SplashPage and now if I open /lesson it opens the Container. But I think that it's not intended to work like this, or is it?

Error: Expected a value of type 'Object', but got one of type 'Null'

Hey, when I start my Flutter web app I get this error when I'm using this package:

Error: Expected a value of type 'Object', but got one of type 'Null'
    at Object.throw_ [as throw] (http://localhost:60029/dart_sdk.js:5032:11)
    at Object.castError (http://localhost:60029/dart_sdk.js:5005:15)
    at Object.cast [as as] (http://localhost:60029/dart_sdk.js:5314:17)
    at Function.as (http://localhost:60029/dart_sdk.js:6508:31)
    at Object._argumentErrors (http://localhost:60029/dart_sdk.js:5150:19)
    at Object._checkAndCall (http://localhost:60029/dart_sdk.js:5233:29)
    at Object.dcall (http://localhost:60029/dart_sdk.js:5242:17)
    at Object.ret [as replaceState] (http://localhost:60029/dart_sdk.js:57497:21)
    at _engine.CustomUrlStrategy.fromJs.replaceState (http://localhost:60029/dart_sdk.js:140910:28)
    at _engine.MultiEntriesBrowserHistory.new.tearDown (http://localhost:60029/dart_sdk.js:140622:42)
    at tearDown.next (<anonymous>)
    at runBody (http://localhost:60029/dart_sdk.js:37229:34)
    at Object._async [as async] (http://localhost:60029/dart_sdk.js:37260:7)
    at _engine.MultiEntriesBrowserHistory.new.tearDown (http://localhost:60029/dart_sdk.js:140609:20)
    at _engine.EngineSingletonFlutterWindow.new._useSingleEntryBrowserHistory (http://localhost:60029/dart_sdk.js:170475:76)
    at _useSingleEntryBrowserHistory.next (<anonymous>)
    at runBody (http://localhost:60029/dart_sdk.js:37229:34)
    at Object._async [as async] (http://localhost:60029/dart_sdk.js:37260:7)
    at _engine.EngineSingletonFlutterWindow.new.[_useSingleEntryBrowserHistory] (http://localhost:60029/dart_sdk.js:170469:20)
    at _engine.EngineSingletonFlutterWindow.new.handleNavigationMessage (http://localhost:60029/dart_sdk.js:170521:56)
    at handleNavigationMessage.next (<anonymous>)
    at runBody (http://localhost:60029/dart_sdk.js:37229:34)
    at Object._async [as async] (http://localhost:60029/dart_sdk.js:37260:7)
    at _engine.EngineSingletonFlutterWindow.new.handleNavigationMessage (http://localhost:60029/dart_sdk.js:170514:20)
    at _engine.EnginePlatformDispatcher.__.[_sendPlatformMessage] (http://localhost:60029/dart_sdk.js:155384:68)
    at _engine.EnginePlatformDispatcher.__.sendPlatformMessage (http://localhost:60029/dart_sdk.js:155214:33)
    at _DefaultBinaryMessenger.[_sendPlatformMessage] (http://localhost:60029/packages/flutter/src/services/system_channels.dart.lib.js:2180:38)
    at _DefaultBinaryMessenger.send (http://localhost:60029/packages/flutter/src/services/system_channels.dart.lib.js:2224:40)
    at OptionalMethodChannel._invokeMethod (http://localhost:60029/packages/flutter/src/services/system_channels.dart.lib.js:948:50)
    at _invokeMethod.next (<anonymous>)

The functionality, however, works fine. I am using Flutter 2.0.1 stable and version 0.2.0 of this package.

Migrate to NNBD

This is blocked by #4 because we want to create a stable release with the correct LICENSE files first.

Expected Object but was null

After null safety migration of my flutter web application . I see this error. What could be the cause? Thanks!

         `queryParameters: {} path: /
          Error: Expected a value of type 'Object', but got one of type 'Null'
              at Object.throw_ [as throw] (http://localhost:5552/dart_sdk.js:5032:11)
              at Object.castError (http://localhost:5552/dart_sdk.js:5005:15)
              at Object.cast [as as] (http://localhost:5552/dart_sdk.js:5314:17)
              at Function.as (http://localhost:5552/dart_sdk.js:6508:31)
              at Object._argumentErrors (http://localhost:5552/dart_sdk.js:5150:19)
              at Object._checkAndCall (http://localhost:5552/dart_sdk.js:5233:29)
              at Object.dcall (http://localhost:5552/dart_sdk.js:5242:17)
              at Object.ret [as replaceState] (http://localhost:5552/dart_sdk.js:57497:21)
              at _engine.CustomUrlStrategy.fromJs.replaceState (http://localhost:5552/dart_sdk.js:140910:28)
              at _engine.MultiEntriesBrowserHistory.new.tearDown (http://localhost:5552/dart_sdk.js:140622:42)
              at tearDown.next (<anonymous>)
              at runBody (http://localhost:5552/dart_sdk.js:37229:34)
              at Object._async [as async] (http://localhost:5552/dart_sdk.js:37260:7)
              at _engine.MultiEntriesBrowserHistory.new.tearDown (http://localhost:5552/dart_sdk.js:140609:20)
              at _engine.EngineSingletonFlutterWindow.new._useSingleEntryBrowserHistory (http://localhost:5552/dart_sdk.js:170475:76)     
              at _useSingleEntryBrowserHistory.next (<anonymous>)
              at runBody (http://localhost:5552/dart_sdk.js:37229:34)
              at Object._async [as async] (http://localhost:5552/dart_sdk.js:37260:7)
              at _engine.EngineSingletonFlutterWindow.new.[_useSingleEntryBrowserHistory] (http://localhost:5552/dart_sdk.js:170469:20)   
              at _engine.EngineSingletonFlutterWindow.new.handleNavigationMessage (http://localhost:5552/dart_sdk.js:170521:56)
              at handleNavigationMessage.next (<anonymous>)
              at runBody (http://localhost:5552/dart_sdk.js:37229:34)
              at Object._async [as async] (http://localhost:5552/dart_sdk.js:37260:7)
              at _engine.EngineSingletonFlutterWindow.new.handleNavigationMessage (http://localhost:5552/dart_sdk.js:170514:20)
              at _engine.EnginePlatformDispatcher.__.[_sendPlatformMessage] (http://localhost:5552/dart_sdk.js:155384:68)
              at _engine.EnginePlatformDispatcher.__.sendPlatformMessage (http://localhost:5552/dart_sdk.js:155214:33)
              at _DefaultBinaryMessenger.[_sendPlatformMessage]
              (http://localhost:5552/packages/flutter/src/services/system_channels.dart.lib.js:2180:38)
              at _DefaultBinaryMessenger.send (http://localhost:5552/packages/flutter/src/services/system_channels.dart.lib.js:2224:40)   
              at OptionalMethodChannel._invokeMethod
              (http://localhost:5552/packages/flutter/src/services/system_channels.dart.lib.js:948:50)
              at _invokeMethod.next (<anonymous>)
              at runBody (http://localhost:5552/dart_sdk.js:37229:34)
              at Object._async [as async] (http://localhost:5552/dart_sdk.js:37260:7)
              at OptionalMethodChannel.[_invokeMethod]
              (http://localhost:5552/packages/flutter/src/services/system_channels.dart.lib.js:946:20)
              at OptionalMethodChannel.[_invokeMethod]
              (http://localhost:5552/packages/flutter/src/services/system_channels.dart.lib.js:1078:34)
              at OptionalMethodChannel.invokeMethod
              (http://localhost:5552/packages/flutter/src/services/system_channels.dart.lib.js:1056:36)
              at invokeMethod.next (<anonymous>)
              at runBody (http://localhost:5552/dart_sdk.js:37229:34)
              at Object._async [as async] (http://localhost:5552/dart_sdk.js:37260:7)
              at OptionalMethodChannel.invokeMethod
              (http://localhost:5552/packages/flutter/src/services/system_channels.dart.lib.js:1055:20)
              at Function.routeUpdated (http://localhost:5552/packages/flutter/src/services/system_navigator.dart.lib.js:47:49)
              at navigator$.NavigatorState.new.[_flushHistoryUpdates]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:24138:44)
              at navigator$.NavigatorState.new.restoreState
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:23741:36)
              at navigator$.NavigatorState.new.[_doRestore]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:23497:14)
              at navigator$.NavigatorState.new.didChangeDependencies
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:23484:31)
              at navigator$.NavigatorState.new.didChangeDependencies
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:23759:13)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48976:18)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.StatelessElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatelessElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatelessElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatelessElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatelessElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatelessElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatelessElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatelessElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatelessElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatelessElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatelessElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatelessElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatelessElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatelessElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatelessElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatelessElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatelessElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatelessElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatelessElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatelessElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatelessElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatelessElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatelessElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatelessElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.StatelessElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatelessElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatelessElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatelessElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatelessElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatelessElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatelessElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatelessElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatelessElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatelessElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatelessElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatelessElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.SingleChildRenderObjectElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.SingleChildRenderObjectElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.SingleChildRenderObjectElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:41742:31)
              at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at _InheritedNotifierElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at _InheritedNotifierElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at _InheritedNotifierElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at _InheritedNotifierElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at _InheritedNotifierElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at _InheritedNotifierElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at _InheritedNotifierElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at _InheritedNotifierElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at _InheritedNotifierElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at _InheritedNotifierElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at _InheritedNotifierElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at _InheritedNotifierElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.SingleChildRenderObjectElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.SingleChildRenderObjectElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.SingleChildRenderObjectElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:41742:31)
              at _InheritedNotifierElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at _InheritedNotifierElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at _InheritedNotifierElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at _InheritedNotifierElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at _InheritedNotifierElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at _InheritedNotifierElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.InheritedElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.InheritedElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.InheritedElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.InheritedElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.InheritedElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.InheritedElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)
              at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at framework.StatefulElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at framework.StatefulElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27231:33)
              at framework.StatefulElement.new.performRebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48988:13)
              at framework.StatefulElement.new.rebuild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26392:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27199:12)
              at framework.StatefulElement.new.[_firstBuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48981:29)
              at framework.StatefulElement.new.mount (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:27195:28)    at RenderObjectToWidgetElement.new.inflateWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:26046:16)
              at RenderObjectToWidgetElement.new.updateChild
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:25905:25)
              at RenderObjectToWidgetElement.new.[_rebuild]
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:51405:37)
              at RenderObjectToWidgetElement.new.mount
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:51385:29)
              at http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:51317:37
              at framework.BuildOwner.new.buildScope (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:48555:13)    at RenderObjectToWidgetAdapter.new.attachToRenderTree
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:51316:17)
              at binding$5.WidgetsFlutterBinding.new.attachRootWidget
              (http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:51186:238)
              at http://localhost:5552/packages/flutter/src/widgets/widget_span.dart.lib.js:51180:14
              at internalCallback (http://localhost:5552/dart_sdk.js:24051:11)`

Exception: Failed to compile application for the Web.

mac@macdeMac app % flutter build web
Target dart2js failed: Exception: ../../../fvm/versions/1.22.5/.pub-cache/hosted/pub.flutter-io.cn/url_strategy-0.1.1/lib/src/url_strategy_web.dart:12:18:
Error: Method not found: 'PathUrlStrategy'.
mac@macdeMac app % flutter build web
Target dart2js failed: Exception: ../../../fvm/versions/1.22.5/.pub-cache/hosted/pub.flutter-io.cn/url_strategy-0.1.1/lib/src/url_strategy_web.dart:12:18:
Error: Method not found: 'PathUrlStrategy'.
  setUrlStrategy(PathUrlStrategy());
                 ^^^^^^^^^^^^^^^
../../../fvm/versions/1.22.5/.pub-cache/hosted/pub.flutter-io.cn/url_strategy-0.1.1/lib/src/url_strategy_web.dart:12:3:
Error: Method not found: 'setUrlStrategy'.
  setUrlStrategy(PathUrlStrategy());
  ^^^^^^^^^^^^^^
../../../fvm/versions/1.22.5/.pub-cache/hosted/pub.flutter-io.cn/url_strategy-0.1.1/lib/src/url_strategy_web.dart:24:18:
Error: Method not found: 'HashUrlStrategy'.
  setUrlStrategy(HashUrlStrategy());
                 ^^^^^^^^^^^^^^^
../../../fvm/versions/1.22.5/.pub-cache/hosted/pub.flutter-io.cn/url_strategy-0.1.1/lib/src/url_strategy_web.dart:24:3:
Error: Method not found: 'setUrlStrategy'.
  setUrlStrategy(HashUrlStrategy());
  ^^^^^^^^^^^^^^
Error: Compilation failed.


Compiling lib/main.dart for the Web...                             26.7s
Exception: Failed to compile application for the Web.
mac@macdeMac app % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[βœ“] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H2 darwin-x64, locale zh-Hans-CN)
 
[βœ“] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[βœ“] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[βœ“] Chrome - develop for the web
[!] Android Studio (version 4.1)
    βœ— Flutter plugin not installed; this adds Flutter specific functionality.
    βœ— Dart plugin not installed; this adds Dart specific functionality.
[βœ“] VS Code (version 1.52.1)
[βœ“] Connected device (4 available)

! Doctor found issues in 1 category.
mac@macdeMac app % flutter devices
4 connected devices:

GM1910 (mobile)  β€’ eea1639b                                 β€’ android-arm64  β€’ Android 10 (API 29)
null (mobile)    β€’ ac6ad6961c8de06068fad6a2a57bc0a2d76f3bd6 β€’ ios            β€’ iOS 14.3
Web Server (web) β€’ web-server                               β€’ web-javascript β€’ Flutter Tools
Chrome (web)     β€’ chrome                                   β€’ web-javascript β€’ Google Chrome 87.0.4280.141

Opening Subpage in Browser throws 404 error

Hello!

I'm facing an issue where the app routing works fine when I use in app navigation (i.e. clicking pages and tabs), but doesn't work when I open the url in browser:
open https://theremapp.com - works
open https://theremapp.com/transparency - doesn't work

Refreshes also do not work, once I was navigated to this new page.

Interestingly enough, this is not an issue when I run the app on my local host, but is an issue when I deploy. Thank you.

Hashtag continues to appear

The version or url_strategy that I am using is

url_strategy: ^0.2.

I followed the instructions, but for the following code, the # continues to appear on the URL.

import 'package:flutter/material.dart';

import 'package:vrouter/vrouter.dart';
import 'package:url_strategy/url_strategy.dart';

//import 'package:molify_app/pages/home_page.dart';

void main() {
  setPathUrlStrategy();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return VRouter(routes: [
      VWidget(
        path: '/',
        widget: const HomePage(),
      )
    ]);
  }
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const Center(
      child: Text('Home Page'),
    );
  }
}

Flutter doctor:

$ fvm flutter doctor -v
[βœ“] Flutter (Channel stable, 2.5.2, on Ubuntu 20.04.3 LTS 5.11.0-37-generic, locale en_US.UTF-8)
    β€’ Flutter version 2.5.2 at /home/pierre/fvm/versions/2.5.2
    β€’ Upstream repository https://github.com/flutter/flutter.git
    β€’ Framework revision 3595343e20 (13 days ago), 2021-09-30 12:58:18 -0700
    β€’ Engine revision 6ac856380f
    β€’ Dart version 2.14.3

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    β€’ Android SDK at /home/pierre/Android/Sdk
    βœ— cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    βœ— Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[βœ“] Chrome - develop for the web
    β€’ Chrome at google-chrome

[βœ“] Android Studio (version 4.1)
    β€’ Android Studio at /home/pierre/app/android-studio
    β€’ Flutter plugin version 55.0.1
    β€’ Dart plugin version 201.9335
    β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[βœ“] VS Code (version 1.60.2)
    β€’ VS Code at /usr/share/code
    β€’ Flutter extension version 3.27.0

[βœ“] Connected device (1 available)
    β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Google Chrome 94.0.4606.54

! Doctor found issues in 1 category.

With Firefox, Beamer, and hosted with Firebase, nav problem : URL stuck

Hello !

With Firefix, Beamer and firebase hosted flutter web, I got navigation issues :

  • I am inside home screen, "/", of my website
  • I click on Player button, I am now on "/player", player screen
  • I click on auto-generated back button, I am well on home screen but URL is stuck at "/player"

Apr-02-2021 18-04-32

The website : https://hex-game-fc1ed.web.app

I only have this issue when website is hosted thanks to firebase AND using firefox, not in local debug.

No problem with Chrome :

Apr-02-2021 18-05-22

Without url_strategy, every thing works on firefox, but with the "#" :

WillPopScope's onWillPop not called

When I use the '#', the onWillPop is called.
When I use PathUrlStrategy, it's not called.

I want to capture the back button (Android device and browser)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.