Home > Blockchain >  What are the ways to make an application responsive in all mobile devices?
What are the ways to make an application responsive in all mobile devices?

Time:05-29

I'm planning to make an application which should be responsive to all mobile devices. Suggest some methods.

CodePudding user response:

Avoid using fixed height and width values. Prefer using Expanded, Flexible, SizedBox.expand() in Columns, Rows or Stacks. If possible develop and test also with flutter web. There you can easily check the responsiveness.

CodePudding user response:

In addition to the previous answer from jannik:

You also might want to take a look into the following resources:

CodePudding user response:

To make the application responsive, you need to use the MediaQuery.of(context).size to get the dimensions of the device on which the application is running and accordingly you can make some end points at which you want to have some different view according to the size and content.

  • Related