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
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
- Web: https://flokk.app
- Linux: https://snapcraft.io/flokk-contacts
- macOS: https://flokk.app/macos/Flokk_Contacts_v1.0.1.dmg
- Windows: https://flokk.app/windows/flokk-v1.0.1-signed.zip
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
- Follow the install instructions here: https://flutter.dev/docs/get-started/install
- Desktop-specific info: https://flutter.dev/desktop, https://github.com/flutter/flutter/wiki/Desktop-shells
- Flokk was built on the bleeding edge of Flutter, so make sure to use the
master
branch in their git repo and checkout commit9c3f0faa6d
for Web, Linux, and macOS builds, or78929661fb
for Windows builds- We're aiming to upgrade to an official Flutter…
The desktop apps are in the experimental directory
Flutter samples
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)