2021-07-28 10:51:37 +09:00
2021-07-16 13:03:30 +09:00
2021-07-16 13:03:30 +09:00
2021-07-16 13:03:30 +09:00
2021-07-16 13:03:30 +09:00
2021-07-16 13:03:30 +09:00
2021-07-16 13:03:30 +09:00
2021-07-27 15:11:21 +09:00

Flutter for Embedded Linux (eLinux)

This software is a non-official extension to the Flutter SDK to build Flutter apps for Embedded Linux devices.

It is still been developed! So, currently, there is a lot of unsupported functions yet.

Documentation

See https://github.com/sony/flutter-elinux/wiki

Contributing

See CONTRIBUTING.md.

Quick start

How to insall flutter-elinux

$ git clone https://github.com/sony/flutter-elinux.git
$ sudo mv flutter-elinux /opt/
$ export PATH=$PATH:/opt/flutter-elinux/bin

Install other tools

$ sudo apt install curl clang cmake pkg-config
# If you want to use Weston as a Wayland compositor:
$ sudo apt install weston

How to run flutter sample app in Weston

You need to install a Wayland compositor such as Weston and launch it before launching your Flutter apps.

$ flutter-elinux devices
2 connected devices:

eLinux (desktop) • elinux-wayland • flutter-tester • Ubuntu 20.04.2 LTS 5.8.0-63-generic
eLinux (desktop) • elinux-x11     • flutter-tester • Ubuntu 20.04.2 LTS 5.8.0-63-generic
$ flutter-elinux create sample
$ cd sample
$ weston &
$ flutter-elinux run -d elinux-wayland

If you want to run your flutter app in X11, use elinux-x11 instead of elinux-wayland:

$ flutter-elinux run -d elinux-x11

Companion repos

Repo Purpose
flutter-elinux Flutter tools for eLinux
flutter-elinux-plugins Flutter plugins for eLinux
flutter-embedded-linux eLinux embedding for Flutter
meta-flutter Yocto recipes of eLinux embedding for Flutter

Base software

This software was created based on the flutter-tizen (branched from this version). Special thanks to the flutter-tizen team.

S
Description
No description provided
Readme BSD-3-Clause 448 KiB
Languages
Dart 71.8%
C++ 18.9%
CMake 4.9%
Go Template 2.3%
Shell 1.8%
Other 0.3%