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

Tablet is recognized as mobile when it starts in landscape #63

Open
danielgomezrico opened this issue Jan 31, 2025 · 0 comments
Open

Tablet is recognized as mobile when it starts in landscape #63

danielgomezrico opened this issue Jan 31, 2025 · 0 comments

Comments

@danielgomezrico
Copy link

Hi

Im using this in a tablet, when I start it in landscape it is saying that the device screen type is mobile but on portrait it is been recognized as phone.

Versions:

  • Tablet: Lenovo Tab M9 with android 13
  • Flutter: 3.27.3
  • Responsive builder: 0.7.1

How it matches the size:
Portrait:
Image

Landscape:
Image

I'm using it like this:

final screenType = getDeviceType(MediaQuery.of(context).size);

if (screenType == DeviceScreenType.mobile) {

Why is it happening?

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

1 participant