Please make sure that you have flutter and the emulator installed in your machine. If you haven't, click this link and follow the instructions
After that run this command on the terminal:
flutter doctor
to check for additional requirements for running flutter.
- Open the VS Code
- Click on the main.dart file located at the ./flutter/main.dart
- Select Run -> Run Without Debugging
- You should see a dropdown menu on the top, click on Start ios Simulator
- A new window containing ios simulator will open and you should see the app running
- Open the android emulator
- Change the directory to ./flutter
- Run
flutter run
on the terminal - The app will run on the android emulator