isWebRunOnMobile property

bool isWebRunOnMobile

Implementation

static bool get isWebRunOnMobile {
  if (!isWeb) {
    return false;
  }
  final userAgent = window.navigator.userAgent.toString().toLowerCase();
  return (userAgent.contains("android")) || _isIosInWeb;
}