isDesktopOrWeb property

bool get isDesktopOrWeb

Returns true if the platform is either a desktop system or a web browser.

Implementation

static bool get isDesktopOrWeb => PlatformDevice.isDesktop || PlatformDevice.isWeb;