isDesktopOrWeb property

bool get isDesktopOrWeb

Indicates if the app is running on a desktop platform or the web.

Returns true if the current platform is macOS, Windows, Linux, or the web.

Implementation

static bool get isDesktopOrWeb => isDesktop || kIsWeb;