I have this flutter app which runs perfectly on the iOS and Android Simulator: app on iOS simulator
But when I am running the same exact app on my iPhone 12, everything (fontsize, textfields, etc...) appear bigger and I therefore get a render-overflow error. This upscaling happens on every screen in my app. app on real iPhone 12
I tried turning my mac completely off and on again. Flutter doctor is also completely fine.
[EDIT] This also happens with the complete default Flutter project. I don't understand why the scaling only happens on the real device and not in the simulator.


You have to calculate the size dynamic with the MediaQuery.of(context).size or use some kind of package , they do it for you dynamically.
} }