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
Wrong MediaQuery Size #383
Comments
It's related for #347, if this is fixed, then this will be solved |
I am not sure if that's related. Reason : There is support of media query data from |
You're right I corrected the link to the issue |
I am also suffering with this issue. For example, I am finding that |
Hi @roblframpton , There is a workaround for it. you can use the prerelease version of the widgetbook( |
Thanks @vatsaltanna. I'll probably just wait for version 3 to be released and stable, for now I am using |
Description
Widget book device uses web window MediaQuery values instead of device logical size.
Steps To Reproduce
Print MediaQuery.of(context).size in any of the widget used in widget book. you will receive wrong size there it will be web window size instead of device frame size.
Expected Behavior
MediaQuery.of(context).size should return device frame size instead of web window size.
The text was updated successfully, but these errors were encountered: