This repo allows to develop Flutter applications on a container. You can also run the application on a desktop environment with the appropriate WSL script.
- Docker
- WSL or full linux environment
./flutter_linux_container.sh #for Linux desktops
./flutter_wsl_container.sh #for WSL desktops
then inside the container you can create a project with:
flutter@aa1be5030283:~/projects/$ ./create_app.sh
or
flutter@container:~/projects/$ cd <your-project-path>
flutter@container:~/projects/$ flutter clean
flutter@container:~/projects/$ flutter pub get
flutter@container:~/projects/$ flutter run
You can use built in Android Studio GUI by typing studio
on the container terminal.
[x] Rootless container
[x] Hot reloading not working (press r to reload while in flutter run
)
[x] Add support for kvm android emulator (requires kvm installed)
[ ] Test image on plain linux
[ ] Add android studio basic headless setup
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.