Giter VIP home page Giter VIP logo

Comments (8)

agordn52 avatar agordn52 commented on May 22, 2024 1

Resolved.

Talked with @jitendravn via Google Meet and discovered his project wasn't updated to the latest (nylo_framework: ^5.18.7) version.

from nylo.

jitendravn avatar jitendravn commented on May 22, 2024 1

Thanks @agordn52 for the resolving the issue

from nylo.

agordn52 avatar agordn52 commented on May 22, 2024

Hi @jitendravn,

Which nylo_framework version are you using?
In the latest version, you can set if the controller should retain the data.

from nylo.

jitendravn avatar jitendravn commented on May 22, 2024

I am having 3 screens - Screen 1, Screen 2 and Screen 3. I am using routeTo to send data to next screen.
routeTo(PATH, data: SCREEN DATA);
On next screen, I am using widget.data() to consume data from previous screen. Its working fine with sending data to the next/landing screen (example Screen 2 to Screen 3).
My problem is - Data presisting (sent previously from screen 2), If I am using routeTo without data param from Screen 1 to Screen 3.
Is there any way to clear the widget.data() on dispose()?

from nylo.

agordn52 avatar agordn52 commented on May 22, 2024

Hi @jitendravn,

Thanks for the information but can you confirm which version of the nylo_framework you are using?

This can be found in your pubspec.yaml file.

from nylo.

jitendravn avatar jitendravn commented on May 22, 2024

@agordn52 5.11.0

from nylo.

agordn52 avatar agordn52 commented on May 22, 2024

Hi @jitendravn,

Can you upgrade to the latest (v5.18.7) version?

nylo_framework: ^5.18.7

Here's the migration guide here

I hope that helps, once you've migrated to the latest version, try rerunning your project.

from nylo.

jitendravn avatar jitendravn commented on May 22, 2024

hi @agordn52
I have upgraded my project to the latest version. But I'm facing the same issue

from nylo.

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.