Dropsource / monarch

Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs.
https://monarchapp.io
MIT License
433 stars 22 forks source link

On Linux: Preview API workaround #71

Open fertrig opened 1 year ago

fertrig commented 1 year ago

The Monarch Preview API runs on a headless flutter engine. However, due to this Flutter issue we cannot run a headless engine on Linux.

As a workaround, Monarch launches a blank window which hosts the flutter engine for the preview api.

Once the Flutter issue referenced above is fixed, we can remove the blank window workaround.