isMobile top-level property

bool get isMobile

Whether the current Platform is a mobile or not.

Implementation

bool get isMobile => Platform.isIOS || Platform.isWindows;