Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GridWidth should accept Device width #2

Open
ksankumar opened this issue Dec 2, 2019 · 4 comments
Open

GridWidth should accept Device width #2

ksankumar opened this issue Dec 2, 2019 · 4 comments

Comments

@ksankumar
Copy link

Not fit the device width for gridWidth.

 gridWidth : MediaQuery.of(context).size.width
@JonathanMonga
Copy link
Owner

See the solution in example folder.

@ksankumar
Copy link
Author

ksankumar commented Dec 3, 2019

In example we achieve that with help of adding some width

MediaQuery.of(context).size.width + (200 * scaleFactor),

How can we add full with without adding those 200*scalefactor

This code affects in Samsung S9, Pixel 2 and some more devices.

@JonathanMonga
Copy link
Owner

This (200 * scalefactor) is very important, you can for example put the 200 to 400 or decrease if there is way and remove the scalefactor

@JonathanMonga
Copy link
Owner

It ok??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants