Skip to content

iskakaushik/flutter_macos_platform_view_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_macos_platform_view_example

Example for a simple macOS platform view.

  1. Build Flutter engine with PR: flutter/engine#30853

  2. You need to comment the check here: https://github.com/flutter/engine/pull/30853/files#diff-a8d2afa913a2b6ed6a1b0bd09db3ab8dd7811ba2430bb8d1f8308f23a68cb68cR108 to account for issue flutter/flutter#96668.

  3. Build the engine and copy it to framework cache:

autoninja -C out/host_debug_unopt
cp -r $ENGINE_SRC/out/host_debug_unopt/FlutterMacOS.framework/*  $FRAMEWORK/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/
  1. Run the example app and you should see something like this:
flutter run --local-engine host_debug_unopt -d macos

PHOTO LINK: https://photos.app.goo.gl/Fpfs4Y1KVzvU7bhy5

About

Example for a simple macOS platform view.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published