Git Product home page Git Product logo

Comments (14)

jonataslaw avatar jonataslaw commented on May 17, 2024 1

https://www.loom.com/share/041102cb7d9a4829baa5c2f0ee4dfd75

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.

jlubeck avatar jlubeck commented on May 17, 2024

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.

jonataslaw avatar jonataslaw commented on May 17, 2024

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.

jlubeck avatar jlubeck commented on May 17, 2024

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.

jonataslaw avatar jonataslaw commented on May 17, 2024

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.

jlubeck avatar jlubeck commented on May 17, 2024

I don't know if it is possible but maybe you could call it 1.13.1-beta?

from getx.

jonataslaw avatar jonataslaw commented on May 17, 2024

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.

jlubeck avatar jlubeck commented on May 17, 2024

So, it looks like ^1.13.1-dev is still downloading ^1.14.0-dev

from getx.

jlubeck avatar jlubeck commented on May 17, 2024

https://www.loom.com/share/041102cb7d9a4829baa5c2f0ee4dfd75

from getx.

jlubeck avatar jlubeck commented on May 17, 2024

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.

jonataslaw avatar jonataslaw commented on May 17, 2024

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.

jlubeck avatar jlubeck commented on May 17, 2024

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.

jlubeck avatar jlubeck commented on May 17, 2024

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.

jlubeck avatar jlubeck commented on May 17, 2024

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)

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.