I have an already running Flutter project in Visual Studio Code, but I want to run a separate Dart file in the same project without terminate my running project.
When i tried to run this file, the running project stops.
You can open your terminal and execute your dart file like
$ dart./file.dart
To open the terminal, use any of this options:
Use the ⌃` keyboard shortcut with the backtick character.
Use the View > Terminal menu command.
From the Command Palette (⇧⌘P), use the View: Toggle Integrated Terminal command. https://code.visualstudio.com/docs/editor/integrated-terminal
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.