0

Flutter dart .. When I install the APK in different screens it's looking ugly in some screens the texts and the buttons it's not fitting perfectly to all the screens .

How can I overcome this problem in flutter..

enter image description here

ADM
  • 20,406
  • 11
  • 52
  • 83
  • Design your layout carefully. Then view it in all resolutions to check if it doesn't get corrupted in some corner case. If you need help with that you should include layout xml here. – Marek R Oct 07 '19 at 13:49

1 Answers1

0

Flutter gives you the tools to accomplish what you want. It gives you MediaQuery object, that you cant get the screen height and width in pixels and use it to display the widgets using this info, it also gives you great widgets as Expanded, Flexible, etc.

The HOW to do this is a wider question and it takes a bit of experience

Rodrigo Bastos
  • 2,230
  • 17
  • 17