Skip to content

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

@danielgomezrico

Description

@danielgomezrico

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions