PlatformEx.isMobile
PlatformEx › isMobile
Unofficial
Type: boolean
The UI is in mobile mode. This is not the same as running the mobile app:app.emulateMobile(true) turns it on in the desktop app too. Use PlatformEx.isMobileApp to ask whether the code runs in the real mobile app.