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

1. Flutter


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 shallow clone to download just the latest revision:

git clone --depth 1 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, please file an issue in the main Flutter

Here is a good talk on Flutter for desktop

Have a great day! 💖

Discussion (0)