A demo project to check flutter in Github Codespaces. It also has configurations for Gitpod and hence can be opened there as well.
- Sign up for Github Codespace beta.
- Click Code -> Open with Codespace and then click on New codespace
- This should open this repo in a Github code space setup with latest flutter master channel and flutter-web enabled.
- In the terminal run the flutter app targeting a web-server.
flutter run -d web-server --web-hostname=0.0.0.0 --web-port=3000
- Once the server starts click on the http://localhost:3000 link and this should open new tab with the live preview.