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.

Contributing

We appreciate fixes and necessary improvements to existing samples. But in most cases, we're not currently adding new samples to this repository while we rethink sample code in the new LLM world.

Please read the contributor's guide if you have contributions.

Googler's, you can freely add samples to the flutter/demos repository.

Index

Quickstarts

  • asset_transformation - Demonstrates how to transform images' color scales and formats.
  • background_isolate_channels - Demonstrates how to use long-lived isolates.
  • cupertino_gallery - A gallery of Cupertino widgets, demonstrating iOS-style UI components in Flutter.
  • date_planner - An in-progress exploration of an iOS-style Date Planner app, similar to the SwiftUI Tutorial app.
  • desktop_photo_search - Demonstrates desktop features in both Material and FluentUI design systems.
  • dynamic_theme - A developer sample demonstrating how to call on-device Flutter APIs based on output from the Gemini API.
  • form_app

Here is a good talk on Flutter for desktop

Have a great day! 💖

Top comments (0)