Globals in Flutter States

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP

Globals in Flutter States



Is it bad practice to use globals for state management in Flutter? I've come across a few different methodologies (ex: Redux) that seem like quite a bit of work to integrate with Firebase Cloud Firestore. Wondering what the downfalls would be to essentially manage my state with key value pairs using globals such as something like this:



Globals in Flutter





Consider explaining what you want to do instead. Your question may fall into the xy problem
– Rémi Rousselet
28 mins ago









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

Executable numpy error

PySpark count values by condition

Mass disable jenkins jobs