Giter VIP home page Giter VIP logo

flutter-elinux's Introduction

Flutter for Embedded Linux (eLinux)

Analysis

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

$ git clone https://github.com/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.

flutter-elinux's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.