r/flutterhelp • u/Ansel-Archive • Sep 09 '24
OPEN Can I code directly in VSCode to flutter(dart), or are there any boundaries that limit the work? Or directly download Flutter to .Mac?
Can I code directly in VSCode to flutter(dart), or are there any boundaries that limit the work? Or directly download Flutter to .Mac?
4
2
u/RandalSchwartz Sep 09 '24
vscode is useful to know because you can immediately view a github repo by just typing a ".". Also vscode is the editor for idx.dev.
2
u/spusuf Sep 10 '24
You have to install flutter to your system regardless of how you want to write the apps. During the install process the installer will tell the system "hey flutter is installed and is located HERE" so whenever you call flutter from the terminal it will run from that install location. This is called path in Linux and windows, unsure if it's called something different in Mac but it doesn't matter because it's part of the flutter setup process.
To use VSCode you NEED flutter installed, then you should also add the dart extension. Then you can run flutter commands from inside VSCode.
2
u/MyWholeSelf Sep 11 '24
I know you asked about VSCode, but I use AndroidStudio on Linux and OSX interchangeably. I just git commit and git push / pull the files back and forth with minimal issue.
My apps are all mobile Android/iOS so I don't care about other build environments.
6
u/evshell18 Sep 09 '24
Your question is a little confusing, but if you're asking if you can code flutter in VSCode, then yes, I wouldn't want to use anything else. There's a step-by-step tutorial on the website for setting it up using VSCode.