Flutter development environment for Visual Studio Code Devcontainer or GitHub Codespace.
Dockerfile Base on mcr.microsoft.com/devcontainers/base:ubuntu-22.04
Docker Hub: hsun1031/devcontainer_flutter
Flutter version: 3.13.9
Flutter channel: stable
Android command tools version: 10406996
Use Dockerfile to build image
{
"name": "Devcontainer For Flutter",
"dockerFile": "Dockerfile",
...
}
Use build image hsun1031/devcontainer_flutter:latest
from Docker Hub
{
"name": "Devcontainer For Flutter",
"image": "hsun1031/devcontainer_flutter:latest",
...
}
flutter create .
flutter build apk
flutter run -d web-server