isDesktopWeb property

bool get isDesktopWeb

Returns true for desktop browsers.

Implementation

bool get isDesktopWeb =>
    kIsWeb &&
    (this == TargetPlatform.linux ||
        this == TargetPlatform.macOS ||
        this == TargetPlatform.windows);