DEV Community

Cover image for Flutter for Linux by Canonical and Google
Sakshat
Sakshat

Posted on

Flutter for Linux by Canonical and Google

Google is working with the Ubuntu Desktop team at Canonical to add Linux support to the Flutter open-source UI platform.

What is flutter?

Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.

Flutter for Linux

I have tried flutter on windows for making mobile apps before. It was in beta back then, and I saw some potential but fell out of touch with the project. Recently I decided to check it out again and to my surprise flutter now has desktop support.

This will add gaming and a variety of other software to the open-source desktop.

The flutter source code can now be compiled to a native Linux or macOS app.

You could check out the docs here: https://flutter.dev/desktop
To install the Flutter SDK (via snap) just use this command
sudo snap install flutter --classic

If you don't wish to use the snap package and install it manually follow these instructions: https://flutter.dev/docs/get-started/install/linux

Here are some apps made using Flutter

GitHub logo gskinnerTeam / flokk

A fresh and modern Google Contacts manager that integrates with GitHub and Twitter.

Flokk

A fresh and modern Google Contacts manager that integrates with GitHub and Twitter.

Demo Builds

Contributing

You are invited to improve Flokk Contacts! Submitting pull requests, answering and asking questions in the Issues page, and updating documentation are all ways you can contribute to the app.

Please note that although we are monitoring GitHub issues, we aren't actively maintaining the codebase, so community involvement and contributions are really appreciated going forward. We're aiming to review pull requests on a weekly basis.

Getting Set Up

Demo Builds

To preview the app you can download from the app store on your device by visiting https://flutter.gskinner.com/folio/#g-download

Installation

If you're new to Flutter the first thing you'll need is to follow the setup instructions.

Once Flutter is setup, you can use the latest stable channel:

  • Run flutter channel stable
  • Run flutter upgrade

Once you're…


The desktop apps are in the experimental directory

GitHub logo flutter / samples

A collection of Flutter examples and demos

Flutter samples

Build Status

A collection of open source samples that illustrate best practices for Flutter.

Visual samples index

The easiest way to browse through the samples in this repo (as well as a few others!) is the visual samples index.

Tip: minimize download size

As this repository is quite big, you can use svn to download a single example For example:

svn co https://github.com/flutter/samples/trunk/provider_shopper

You can also use a partial clone to skip blob objects that aren't currently checked out while including the full commit history:

git clone --filter=blob:none https://github.com/flutter/samples.git

Interested in contributing?

See the contributor's guide!

Questions or issues?

If you have a general question about one of these samples or how to adapt its techniques for one of your own apps, try one of these resources:

If you run into a bug in one of the samples…

Here is a good talk on Flutter for desktop

Have a great day! 💖

Top comments (0)