-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with getx naviagtion on flutter web #3288
Comments
|
Did you try using GetX5? |
yes getX 5 is good but not being released fully as stable ( even for testing) i think you should work on getX 2.0 |
Maybe you are using the same path from unknown in " SRoutes.n404"? I just tested your code and it worked fine. |
I tried by removing the same path from getpage. but still the same issue. |
Could you create a simple reproduction code for the problem? I couldn't reproduce it at all. |
ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS. THIS SPACE IS DEDICATED ONLY FOR BUGS DESCRIPTION.
Fill in the template. Issues that do not respect the model will be closed.
Describe the bug
I am using getx routing for my web project and all navigations are working file except invalid routes. i am impliment unknownroute in my getmaterialapp, but it didnt trigger if an invalid route called or even called 'not-found' route. i have reffered infinit tutorials and all of them using the same method and work well.
Reproduction code
NOTE: THIS IS MANDATORY, IF YOUR ISSUE DOES NOT CONTAIN IT, IT WILL BE CLOSED PRELIMINARY)
example:
iam attaching my routes
also attaching route observers
To Reproduce
Steps to reproduce the behavior:
Expected behavior
if a user change the valid url to invalid routename then the unknownRoute in GetMaterialApp is triggered and need to show the NotFoundPage() page should display.
Screenshots


Flutter Version:
sdks:
dart: ">=3.5.3 <4.0.0"
flutter: ">=3.27.0"
Getx Version:
get:
dependency: "direct main"
description:
name: get
sha256: e4e7335ede17452b391ed3b2ede016545706c01a02292a6c97619705e7d2a85e
url: "https://pub.dev"
source: hosted
version: "4.6.6"
Describe on which device you found the bug:
web
Minimal reproduce code
Provide a minimum reproduction code for the problem
The text was updated successfully, but these errors were encountered: