This is a Docker image for disconnected flutter web development.
You can either pull it from Docker Hub or download from the releases page if you are in a proxied environment.
docker pull jgiannuzzi/flutter-web:1.25.0-8.3.pre
Once downloaded from the releases page, import the image into Docker:
docker image load -i flutter-web-docker.tar
Run the container in the current working directory, exposing port 8080:
docker run --rm -ti -v $PWD:/data -w /data -p 8080:8080 jgiannuzzi/flutter-web:1.25.0-8.3.pre
Create a new web project in offline mode:
flutter create --offline --platforms web myapp
Run it:
cd myapp
flutter run -d web-server --web-port 8080