Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

flutter for embedded linux (elinux)

this software is a non-official extension to the flutter sdk to build and debug flutter apps for embedded linux devices.

features

  • flutter optimized for embedded systems
    • minimal dependent libraries
    • lightweight than flutter desktop for linux (not using x11 and gtk)
    • arm64/x64 devices support
  • embedded software development
    • cross-building from x64 to arm64 support
    • install/uninstall/debug to remote target devices
  • flutter plugins support
  • display backend support
  • keyboard, mouse and touch inputs support
  • equivalent quality to flutter desktops
  • api compatibility with flutter desktop for windows and glfw
    • apis such as methodchannel and eventchannel are completely the same with them

if you want to know more details, see also flutter-embedded-linux, which is flutter embedder for elinux.

documentation

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

contributing

welcome to this project. we welcome all your contribution and feedback. see: contributing.md.

quick start

install flutter-elinux

$ sony/flutter-elinux.git
$ sudo mv flutter-elinux /opt/
$ export path=$path:/opt/flutter-elinux/bin

install required tools

$ sudo apt install curl clang cmake pkg-config

run flutter sample app in weston

you need to install a wayland compositor such as weston and launch it before launching your flutter apps. note that if you use weston, weston version 8.0 or above recommended. see also: support status

$ sudo apt install weston
$ weston &
$ 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
$ 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 by branching from flutter-tizen (branched from this version). special thanks to the flutter-tizen team.


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.