Port webapps to run on flutter
Description
Environment
Attachments
- 21 Sep 2021, 12:53 PM
- 21 Sep 2021, 12:52 PM
- 21 Sep 2021, 12:50 PM
Activity
Walt MinerFebruary 14, 2024 at 12:40 AM
@Lorenzo I think we close this. This was a good idea, but its day has come and gone.

LorenzoDecember 7, 2021 at 2:00 PM
We have been iterating the work on the flutter homescreen at https://github.com/felipeerias/flutter_homescreen
This is current status of the app view:

LorenzoNovember 9, 2021 at 12:47 PM
We have an initial ongoing version of the AGL homescreen made in flutter, which for now would be using the entire surface of the screen and emulate the functionalities of some other flutter apps as the application launcher or HVAC by embedding them as views inside it.
https://github.com/felipeerias/flutter_homescreen
https://cloud.igalia.com/s/WNLTxXSec5D8NEM
This first approach of running several applications inside of a single flutter app is something that might be iterated to allow running several apps on different views, being the homescreen just the layout one as we were originally doing.

LorenzoOctober 5, 2021 at 1:05 PM
I have pushed a repo with the WIP of the flutter HVAC https://github.com/ltilve/agl-flutter-hvac, despite it has pending ongoing work and issues. Also, I will be creating another flutter version of the mixer webapp, so we can also push a newer version of the aglJs connector including the services for it.

LorenzoSeptember 21, 2021 at 12:53 PM
After addressing the problems with the assets, we finally have an initial version of the HVAC UI. We are still completing the connections with the services, but can be now run on the desktop (via `flutter` debugger tool on VSCode, or on an emulator), and also bundled for target web as `flutter build web`, and then packaged into an .wgt which can be installed into the image.
For now it's using some standard basic flutter widgets, to target using the same calls as the HTML5 version:
Also, we are testing other more complex Flutter widgets and apps running on WAM, by running the web-bundled version of the flutter gallery app.
As a side task of https://lf-automotivelinux.atlassian.net/browse/SPEC-3876#icft=SPEC-3876, which tracks testing flutter web bundles on top of WAM. It would be interesting to be able to have available flutter versions of the existing demo webapps.
These apps could be run on the same way as the existing ported samples, but this could allow tracking the entire development flow for having a flutter apps runnable on the testing tools, to run them into AGL using WAM initially and on native support once available