Running Flutter Desktop on Stable channel

Photo by Caspar Camille Rubin on Unsplash

TL;DR: Follow those steps if you want to run Flutter as a desktop application on beta or stable channels (and not only on master or dev).

At the time of writing this post, Flutter Desktop is still in Alpha and you are only allowed to enable it on master or dev channel.

In case you are using beta or stable channel, you are out of luck if you want to run your app as a MacOs/Windows/Linux app without the need of switching to more unstable channels. Or are you?

Running Flutter Desktop on any channel

  • Make sure your app compiles for Flutter desktop on master or dev channel — guide how to do it
  • Run flutter doctor while you are beta or stable channel
  • Go to Flutter’s main folder and git checkout the version that you want:
git checkout 1.22.2
  • Run flutter doctor to download the needed dependencies and make sure chat channel is unknown
  • Enable desktop configuration
flutter config --enable-linux-desktop --enable-macos-desktop --enable-windows-desktop
  • Run flutter devices to check if you can now see desktop enabled
  • Done!

Why not by default on beta and stable?

Flutter desktop is still under development and Flutter devs do not want everybody to start publishing production apps — more users ->more bugs ->more pressure.

However, if you need a desktop to check your app on different screen dimensions or run UI tests on docker containers, Flutter Desktop is pretty stable —we have been using it for 1.5 years.

Passionate mobile developer. One thing I like more than learning new things: sharing them

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Implement a Handmade Pagination

Getting Rid of the RecyclerView.Adapter Routine with a DataBinding

Crash Instagram (Android) Bug using U+043E (UnPatched)

Builder pattern

Theming in Jetpack Compose for Android


Android push notification not working when the app is closed

How To Handle Configuration Changes in Android


How To Manually Update Android Version

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tomek Polański

Tomek Polański

Passionate mobile developer. One thing I like more than learning new things: sharing them

More from Medium

If and ElseIf| Flutter | Dart

Linear Progress Indicator In Flutter

Learn Dart: First Step to Flutter 6

Flutter for Windows. What are the new Updates in Flutter 2.10