isMobileWeb property

bool get isMobileWeb

True for mobile web.

Implementation

static bool get isMobileWeb =>
    kIsWeb &&
    (defaultTargetPlatform == TargetPlatform.iOS ||
        defaultTargetPlatform == TargetPlatform.android);