How to get input in dart on vscode?
When I click the "Run" button, it only runs the code on the uneditable-terminal, but when I use the "F5" button to run it, as in Python, it brings an error that I need to do some installation and/or configurations, and it auto-creates a "launch.json" file.
2
Answers
Use
cd
to get into the directory, then open the terminal and rundart filename.dart
.please make sure that your dart sdk is installed correctly and then ensure that you install the dart extension for VS code. That should sort you out.