following a tricky version conflict that appears in IDX and not locally, gemini suggests me - if possible - to align the IDX version to the local one (3.24.1 versus 3.22.1). How can I do this?
You would need to update the flutter version in the dev.nix file but first you need to check if nix supports 3.24.1 or what every version you are upgrading to
Doesn’t seem possible, the lastes package I could find was 3.22. However it seems like it is being developed on github, for now I guess we’ll have to wait
Correct. The problem is that configurating the internationalization package in IDX creates version conflicts. I’ll wait.
Thanks. If I change the Channel in the idx.nix file, the workspace doesn’t load and IDX uses a standard nix. I’ll wait.
Another thing you can try is the regular flutter upgrade command… But just make sure to keep a copy of your project by downloading it as a zip file in case something goes wrong with the upgrade
The regular flutter upgrade commands should work. We decoupled Flutter updates from the Nix version, so you have more flexibility now.
Para subir la versión a 3.24.1, simplemente en la consola coloca flutter upgrade
te actualiza flutter y dart
Y luego actualiza las dependencia, que necesites para tu proyecto
Hi, How can I have specific version of flutter on nix machine? I was trying to use channel 25.5 and some package like: NixOS Search , But environment is not building. My firebase studio instance is needed as example for users, and I really want to have static flutter version for each user that want to create instance from mine. For now instance, got flutter from beta chanel what is very inconvenient in my case. I need to have specific flutter version set, by default when creating instance.