Cloud Stack Ninja

To practice responsive design in Flutter, I have decided to use device_preview. I tried different phones out. But every time I got the original device's width.

For example, original device's witdh is 1700px but simulated device's witdh is 600px. I cannot get simulated device's witdh.

Are there any settings to fix that issue? Or is it basically how it works?



Read more here: https://stackoverflow.com/questions/64418176/with-device-preview-plugin-in-flutter-mediaquery-ofcontext-size-width-doesnt

Content Attribution

This content was originally published by Ferda Nahit FIDANCI at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: