'Flutter responsiveness
I want to make an responsive app, I launched my app on iPhone 11 and it looks good, but when I want to run it on iPhone 8(smaller devices) it doesn't adapt to screen sizes. I am using responsive_wrapper package to achieve it. But it doesn't work.
Solution 1:[1]
Add ResponsiveWrapper.builder in SingleChildScrollView: see official Documentation
But you must do the Container adaptive, not const height. Set the height:
MediaQuery.of(context).size.height * 0.4; // 40% of screen height
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Asmoun |
