Comments (2)
parace que necesitas usar los tags https://flutter.meedu.app/docs/5.x.x/state-management/working-with-tags
cuando navdgas de una pantalla que usa un provider a otra que otiliza el mismo provider no importa si haces el pop de la primera pantalla ya que para que el provider sea destruido primero debe terminar la transición de pantalla. Otra cosa que puedes hacer es usar auto dispose false y a tus páginas convertirlas a un statefulwidget y sobreescribir el método dispose y ahí liberar el provider
from flutter-meedu.
Muchas gracias por la rápida respuesta, efectivamente con la tag solucioné el problema.
from flutter-meedu.
Related Issues (12)
- How to add subtitle support? HOT 1
- Can it be translated into Chinese? HOT 5
- Consumer and ConsumerWidget not defined HOT 3
- Can add Web support ? HOT 2
- Problema con la librería modal_bottom_sheet HOT 2
- A TestController was used after being disposed. HOT 2
- Null Safety migration HOT 2
- Duplicar Widget HOT 7
- MultiProvider Missing on 4.3.0 HOT 2
- something Wrong... HOT 2
- Discord server HOT 1
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 flutter-meedu.