FilledStacks / FilledStacks/responsive_builder

Tablet is recognized as mobile when it starts in landscape

Open
#63 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
524
Forks
90
PR merge metrics
No merged PRs in 30d

Description

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:

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

if (screenType == DeviceScreenType.mobile) {
```

Why is it happening?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.