I need to optimize a Flutter App for Samsung DeX, without changing the behavior of the app, when is running on a normal Smartphone or Tablet. So my question is, is it possible to detect if an App is running in a Desktop Mode from an Android Device like Samsung DeX?
I already tried using the width of the screen, but this didn't work out, because of the screens of some tablets.