flutter_preview
flutter_preview copied to clipboard
Preview embedded in VSCode
The final goal would be to integrate Flutter preview inside VSCode. This code editor allows embedded views through a webview, so the preview would be running on Flutter web
For having a pleasant experience these are needed:
- [X] Allow flutter web debug apps to run inside an iframe [#61788] https://github.com/flutter/flutter/issues/61788)
- [ ] Hot reload for web #53041
- [ ] Allow getting an Image from a widget in web (for screenshots) #42767
What about using dart-services as dart-pad? We need support for packages :(
Some progress here, I managed to embed it inside vscode. Still some work to do to support hot restart

I can't seem to get this to work - is it available in the currently published vscode plugin or do I need to build the plugin myself?
It doesn't work now as it needs some changes in the Flutter repo. I have already submitted a PR
I'm assuming it's this one, will keep an eye for it to be merged and then keen to come back and try this out again! 👍
this is a great feature for this package. I really look forward to use this feature