Comments (14)
Thanks for this video, it shouldn't happen, it's a problem on the Flutter side, but in order to prevent you and other people from going through this situation, I'm sending a beta version to pub.dev right now.
Within a few minutes I will give you the exact version number.
from getx.
Thought you might be interested in this as well:
[✓] Flutter (Channel beta, v1.15.17, on Mac OS X 10.15.4 19E266, locale en-US)
• Flutter version 1.15.17
• Framework revision 2294d75bfa (4 weeks ago), 2020-03-07 00:28:38 +0900
• Engine revision 5aff311948
• Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)
from getx.
Thought you might be interested in this as well:
[✓] Flutter (Channel beta, v1.15.17, on Mac OS X 10.15.4 19E266, locale en-US) • Flutter version 1.15.17 • Framework revision 2294d75bfa (4 weeks ago), 2020-03-07 00:28:38 +0900 • Engine revision 5aff311948 • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)
Simply use this version of the plugin:
get: ^1.14.0-dev
from getx.
Ok, now I'm getting a different error:
Compiler message:
../../../.pub-cache/hosted/pub.dartlang.org/get-1.14.0-dev/lib/src/routes/default_route.dart:239:9: Error: No named parameter with the name 'primaryRouteAnimation'.
primaryRouteAnimation: animation,
^^^^^^^^^^^^^^^^^^^^^
../../../flutter/packages/flutter/lib/src/cupertino/route.dart:425:3: Context: Found this candidate, but the arguments don't match.
CupertinoFullscreenDialogTransition({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compiler message:
../../../.pub-cache/hosted/pub.dartlang.org/get-1.14.0-dev/lib/src/routes/default_route.dart:239:9: Error: No named parameter with the name 'primaryRouteAnimation'.
primaryRouteAnimation: animation,
^^^^^^^^^^^^^^^^^^^^^
../../../flutter/packages/flutter/lib/src/cupertino/route.dart:425:3: Context: Found this candidate, but the arguments don't match.
CupertinoFullscreenDialogTransition({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
Failed to build bundle.
from getx.
Ok, now I'm getting a different error:
Compiler message: ../../../.pub-cache/hosted/pub.dartlang.org/get-1.14.0-dev/lib/src/routes/default_route.dart:239:9: Error: No named parameter with the name 'primaryRouteAnimation'. primaryRouteAnimation: animation, ^^^^^^^^^^^^^^^^^^^^^ ../../../flutter/packages/flutter/lib/src/cupertino/route.dart:425:3: Context: Found this candidate, but the arguments don't match. CupertinoFullscreenDialogTransition({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compiler message: ../../../.pub-cache/hosted/pub.dartlang.org/get-1.14.0-dev/lib/src/routes/default_route.dart:239:9: Error: No named parameter with the name 'primaryRouteAnimation'. primaryRouteAnimation: animation, ^^^^^^^^^^^^^^^^^^^^^ ../../../flutter/packages/flutter/lib/src/cupertino/route.dart:425:3: Context: Found this candidate, but the arguments don't match. CupertinoFullscreenDialogTransition({ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Target kernel_snapshot failed: Exception: Errors during snapshot creation: null Failed to build bundle.
Sorry, my mistake, the beta version is:
get: ^1.13.1-dev
I will add this to the Readme
from getx.
I don't know if it is possible but maybe you could call it 1.13.1-beta?
from getx.
I don't know if it is possible but maybe you could call it 1.13.1-beta?
This version belonged to the dev branch, Flutter made the same version of the dev branch as beta, so the version name is "dev".
But I will organize this, add the 3 branchs to pub.dev soon.
from getx.
So, it looks like ^1.13.1-dev is still downloading ^1.14.0-dev
from getx.
https://www.loom.com/share/041102cb7d9a4829baa5c2f0ee4dfd75
from getx.
You are awesome. I hope your package works for my use case. I plan on using it inside a TabController (fixed navigation bar and internal pages in each section).
Do you think that would be an issue?
from getx.
Try now:
get: 1.13.3-beta
The beta version is now available.
There is no way you can do what you want with Get right now.
It looks like you intend to use NestedNavigators.
This is not yet fully recommended, and can cause problems with MemoryLeak.
There is no way to implement this without creating a new navigation GlobalKey, and they are expensive.
I have resisted adding this to Get, because I always valued performance, the initial idea of this lib was due to an application with 2 million downloads in each store that was crashing when users navigated many routes using standard navigation. I discovered the problem, offered a PR in the framework, and added the solution to Get. Today this problem is fixed in Dev (beta and stable are still affected by the problem using Navigator.push without Get), but after several feature request requests, I will add that.
Keep in mind that you must not allow the user to navigate dozens of routes within each stack. You will have multiple stacks of routes in memory, and this is a problem depending on the type of application you have.
In version 2.0 I intend to use GetObserver to save the state and position of each route, to simulate nestedNavigators, this can be an ideal performance solution, but it requires the implementation of its own storage system and deep modifications, and I am waiting for decisions about the new declarative navigation of Flutter that is in internal tests go off the record to see if I can do something under it.
Anyway, I will add, probably today, I already have the lib code open, this will only take a few minutes for this feature, but I will make it clear that it is something that should only be used in specific cases, and it can be very bad for performance depending on how it is done.
from getx.
I see... Tab navigation is a very popular navigation paradigm though. I'm surprised it is not more heavily supported in flutter and other navigation systems I've been trying.
from getx.
Ok, that new beta package worked! Closing this one and looking forward to the nested navigators! Thanks a lot for your quick replies. Highly appreciated!
from getx.
Anyway, I will add, probably today, I already have the lib code open, this will only take a few minutes for this feature, but I will make it clear that it is something that should only be used in specific cases, and it can be very bad for performance depending on how it is done.
Hey @jonataslaw were you able to take a look at this? I would't be asking if you didn't already mentioned you were probably adding it that day 😅
from getx.
Related Issues (20)
- 能否说明下 Get5 的路由 HOT 1
- Flutter web Getx routing dynamic API extension for testing
- Got status 3xx with followRedirects is true
- KINDLY COMMUNICATE WITH COMMUNITY PLEASE ( dear developer) you are making us loose hope HOT 8
- RTL Icon Padding Issue in Get.rawSnackbar() HOT 1
- PosScope in IOS while using Getx Route management. HOT 6
- Get.to 为什么在第一次跳转的时候当前route没有过渡效果
- Flutter getx trparams (@ variables substitution) does not work for Hebrew locale. Reported in StackOverflow.com HOT 3
- get.snackbar's selfsize
- Hot reload does not work in Windows HOT 1
- getx update not trigger ui refresh in time
- RouterReportManager base on _current to delete Controller is Not a good idae HOT 3
- same page transition issue
- XMLHttpRequest error in get request (web ) HOT 1
- how get GetMaterialApp instance?
- Null check exception HOT 2
- 无法访问pub.dev HOT 10
- Getx Deeplink Issue when app terminate HOT 1
- Target dart2wasm failed
- Flutter web not working at all HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getx.