Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(designer): Make Designer compilable for other platforms than web #649

Open
johannesvedder opened this issue Jul 1, 2024 · 1 comment

Comments

@johannesvedder
Copy link
Contributor

At the moment the Designer can only run on the web platform because of the html and js libraries used for the test platform. If we add alternative implementations for this, the Designer could also be run with native dart on Windows/Linux/Mac systems. I found two options that could be used for a native dart implementation of the test screen to embedd the App.

  • The webview_flutter package could help to embed the App website. However, we probably lose instant preview feature, because there is probably no communication possible between the Designer and the webview.

  • We might be able to use MaterialApp() inside the Designer to embed the App. This will probably also need changes in the App to support communication between the two apps. We need to test whether and how big the impact on performance is.

@johannesvedder
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant