How to run flutter app on chrome. I have installed flutter kit and also run flutter channel beta flutter upgrade and also install extension on visual studio code.
Anecdotally, I would say that Visual Studio Code (VS Code) is the most popular IDE in use in the Flutter landscape today.
Just like with flutter mobile
create flutter launch
configuration, but add the following line: "args": [ "-d", "chrome" ]
{
// launch.json
"version": "0.2.0",
"configurations": [
{
"name": "Flutter for web",
"type": "dart",
"request": "launch",
"program": "lib/main.dart",
"args": [
"-d",
"chrome"
]
}
]
}
You can write on terminal:
flutter run -d chrome
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With