Hi fellow Flutter developers and Flutter app publishers,
I’m the developer of Community Remote, an app built using the Flutter framework.
Over the last couple of weeks I figured out how to build a Flutter app from source while being offline, to be able to perform the full app build on Flathub infra. Recently I published an update of my app that is built from source.
To be of benefit to more Flutter developers who publish on Flathub I now generalized and automated parts of the process to come to an offline build, and open sourced this in the form of the flatpak-flutter tool.
Feature Highlights
- Use an online build to generate prerequisite files for offline build
- Generate flatpak-builder
modules
, snapshotting a specific version of the Flutter SDK - Generate flatpak-builder
sources
, parsingpubspec.lock
files to create the offline pub-cache
What’s Next?
Be aware that this project is very fresh. To bring it to the next level I would like to get in contact with developers who want to test the tool and turn their app manifest into a source level build. It has the benefit to have both the x86_64 and aarch64 architecture supported without the need for local hardware.
Please create issues on the GitHub project for support and requests. This post is mainly to announce the project and create awareness.
Hope to hear from you!