Skip to content

Instantly share code, notes, and snippets.

@tomaszpolanski
Created April 20, 2019 10:40
Show Gist options
  • Save tomaszpolanski/58cb1167cf7cafa31e7033503ee035f3 to your computer and use it in GitHub Desktop.
Save tomaszpolanski/58cb1167cf7cafa31e7033503ee035f3 to your computer and use it in GitHub Desktop.
Building Flutter for MacOS
- `flutter channel master && flutter doctor`
- `export ENABLE_FLUTTER_DESKTOP=true`
- `git clone git@github.com:google/flutter-desktop-embedding.git`
- Move your project inside the `flutter-desktop-embedding` folder
- Copy the `macos` folder from `flutter-desktop-embedding/example` to your project
- `cd flutter-desktop-embedding/my-project && flutter run -d macos`
@edgarfgp
Copy link

Needs to add debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia; to main functio. BTW you ROCK!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment