flutter_device_type icon indicating copy to clipboard operation
flutter_device_type copied to clipboard

Determine the type of handheld device on Flutter. Like if the device is a Tablet or is iPhoneX.

Results 9 flutter_device_type issues
Sort by recently updated
recently updated
newest added

Previously the devicePixelRatio was only set once at initialization, when it possibly was not available yet. This could lead to a wrong device type detection (e.g. a OnePlus Nord was...

This package thinks the Samsung A71 and other long android devices are tablets: > Samsung A71 Spec: > 1080 x 2400 pixels > 6.7 inches Result from `Device.get()`: ``` Device...

If I try to use Device.get().isPhone on Flutter Web, it crashes because of dart:io usage when detecting Platform.isiOS. Can you fix this? You can take foundation.darts defaultTargetPlatform which is working...

This library returns > deviceIsTablet=false on a bunch of tablets. This error does not occur every time, but it does happen again and again. It also rarely happens in debug...

A simulator based on Nexus 7, one of the built-in tablets, is being reported as a phone. The issue appears to be that the Nexus 7 screen calculation is 6.94...

The library has getters for isPhone and isTablet, but there's no way to check against other versions of Android.

I have a problem when i call Device de = Device.get(); i have sometimes this result on Samsung Galaxy Tab A8 1920*1200 (DEVICE): Android-->true Tablet:false DeviceSize:Size(0.0, 0.0) ScreenSize:Size(0.0, 0.0) how...