isDesktopWeb property

bool isDesktopWeb

True for desktop web.

Implementation

static bool get isDesktopWeb =>
    kIsWeb &&
    defaultTargetPlatform != TargetPlatform.iOS &&
    defaultTargetPlatform != TargetPlatform.android;