Flutter Desktop Apps: Getting Started

Mar 28 2023 · Dart 2.19, Flutter 3.7, Android Studio 2021.3.1 or higher, Visual Studo Code 1.7.4 or higher

Part 1: Flutter Desktop Apps

02. Installing Flutter

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 01. Learn About Flutter Desktop Next episode: 03. Create a Flutter Desktop App

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Flutter Desktop development works well but not all plugins support the desktop.

Macos

The first application you should install on your mac is Xcode. You can get Xcode from the App Store. Once you have xcode installed, you will need to configure it. Open up the terminal app

Terminal

and type the following:

sudo Xcode-select —switch /Applications/Xcode.app/Contents/Developer
sudo gem install cocoapods

Install flutter

For both platforms, head to flutter.dev/docs/get-started/install and install Flutter. For the Macintosh you will need to download the zip file for Flutter, which includes the Dart language. I recommend you use a simple path like ~/flutter on Mac and C:\flutter on windows. Create the directory and then unzip the flutter zip package and move it to your new flutter directory.

Terminal

Next you need to add flutter to your path. On the Mac, add the path to your .bash_profile (Bash Shell) file or .zshrc (Z Shell) file. If you don’t have any of these files, create a new .bash_profile file in your home directory and add:

export PATH=$PATH:~/flutter/bin

Terminal

Once that is done, run flutter doctor from the command line to make sure everything looks good. You are now ready to start writing Flutter desktop apps!