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.

Click here to see image


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

Answered By – VitaliyIshkevychDeveloper

Answer Checked By – Dawn Plyler (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *