How to work with Flutter for web that is already in github?

I have a Flutter project for my friend’s website, in github repository. I want to use IDX, to allow my friend to easily make simple changes.

Questions:

  1. How to clone existing project to IDX workspace? If i run git clone in terminal, it will create subdirectory, so my .vscode will lose power.
  2. How to share the workspace with friend?
  3. How to run project for web/chrome from idx console/workspace?

Copy of the question in SO: flutter - Steps to clone project from github - Stack Overflow

Idx already has the option of importing GitHub repositories… You can make use of this option and it will specifically ask if this is a flutter project and automatically create the required configuration files to run the project

1 Like