Install newer flutter version in IDX

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.

2 Likes

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

1 Like