@OrestesGaolin The preview is running on the Flutter tester, not on Flutter web.
You can't currently toggle platform-specific behaviour, l10n or text scaling... but stand by π
@romanroan Sorry, I don't really understand the question...
preview() is required to show a preview, to show the theme you can use a preview_config.dart file: https://t.co/2nUO7WB33v
@yerlikayahasim Yay!
Yes, add a preview_config.dart file in your lib folder: https://t.co/2nUO7WB33v
At the top of the buildPreview method, initialise any state you need.
@trejdych Just pushed a new version (0.1.36) that fixes the preview_config.dart problem, so you don't have to restart VSCode.
Thanks for the feedback β€οΈ
@jkoenig134 This seems to be an issue with Flutter itself.
Running "flutter test" on a file that uses absolute paths fails (Wings uses flutter test to run previews).
I don't think Wings can work around it, sorry - will file a Flutter issue.