Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 804 Bytes

readme.md

File metadata and controls

51 lines (36 loc) · 804 Bytes

Flutter Desktop App

This project aims to illustrate how to

  • Develop Flutter App for desktop (linux) platforms
  • Pack a flutter project into an AppImage.
  • Setting up a CI workflow to test and build using Github Actions

Requirements

  • Linux (Tested on Ubuntu >= 18.04 and Debian Buster)
  • Flutter (2.2 or higher)
  • appimage-builder

Development

git clone https://github.com/alphaolomi/flutterapp.git
cd flutterapp
# enable flutter desktop support
flutter channel dev
flutter upgrade
flutter config --enable-linux-desktop

Run locally

# Run the flutter app
flutter run -d linux

Build for linux

# build the flutter app
flutter build linux
# build the AppImage
appimage-builder --skip-test

Ref