isDesktopOrWeb property
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;
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.
static bool get isDesktopOrWeb => isDesktop || kIsWeb;