Build Responsive UIs in Flutter

Raouf Rahiche
Oct 16, 2018 · 7 min read
Image for post
Image for post

Designers love making responsive UIs but implementing them in real life is not that easy. As a Flutter developer you should’t say NO to your designers. so let’s make them happy again.

What are the components of responsive design?

What’s the problem?

1. Different screen sizes

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

NOTE: in flutter everything is a widget even the app so you can achieve the same thing we did in the first example by using the LayoutBuilder just by wrapping your Scaffold inside a LayoutBuilder and use the maxWidth value in the condition.

Image for post
Image for post
Image for post
Image for post

2. The Orientation

Image for post
Image for post
Image for post

Should I care about Desktop support?

Image for post
Image for post
Image for post

Conclusion

in responsive design don’t think about specific device because you will just get in trouble

Flutter Community

Articles and Stories from the Flutter Community

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store