isMobileWeb property

bool isMobileWeb

True for mobile web.

Implementation

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