Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There is an issue in JIRA tracking this work https://jira.automotivelinux.org/browse/SPEC-3876


Bundling flutter applications as webappsThe requirements for creating a wam widget are having a (zipped) package containing a XML configuration file. After adding a configuration file and creating a .wgt zipped package from flutter's build/web directory, it's possitble to install the application as a widget:


Flutter particle sample running as a widget:

View file
nameflutter-sample-particles-2021-07-06_11.13.51.mkv
height150

Configuration file for the particle sample:


Code Block
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" id="webapps-flutter-particles" version="0.0.0">
  <name>FlutterDemo</name>
  <icon src="icon.svg"/>
  <content src="index.html" type="text/html"/>
  <description>HTML5 Mediaplayer demo</description>
  <author>Igalia, S.L.</author>
  <license>APL 2.0</license>
  <feature name="urn:AGL:widget:required-permission">
    <param name="urn:AGL:permission::public:no-htdocs" value="required" />
    <param name="urn:AGL:permission::public:display" value="required" />
  </feature>
  <feature name="urn:AGL:widget:required-api">
    <param name="homescreen" value="ws" />
  </feature>
</widget


Dart WIP agljs wrapper implementation

https://fluttergithub.devcom/docs/deployment/webrogerzanoni/agljs.dart


Flutter WIP implementation of the agl-demo application launcher

...