isMobile property

bool get isMobile

Returns true if the current platform is mobile (iOS or Android).

Implementation

static bool get isMobile => GetPlatform.isIOS || GetPlatform.isAndroid;