I'm having trouble toggling Flutter versions on Mac OS Catalina in VSCode. The problem is that the terminal that I open in VSCode does not use the flutter version I select for the project. [![enter image description here](https://i.stack.imgur.com/FVPSl.png)](https://i.stack.imgur.com/FVPSl.png)

I've got version 1.22.4 system-wide installed but the project uses 2.0.3 with null-safety.
I can launch the project using Run command (with launch.json configuration) and it it will launch it using version 2.0.3 but when I want to do it from VSCode built-in terminal it uses 1.22.4. I even tried to reboot the system to check if it's not a problem with cached values. It's not.
I have no idea why VSCode does not set the variables for terminal session when it launches it.
Is it possible at all to make VSCode terminal use the versions of Flutter and Dart selected for the particular project?
Seems like it might be somehow configured in dart-code plugin. But I haven't found how

p.s. I've googled a lot on this issue and haven't found the answer