isPwa property

bool get isPwa

Indicates whether this device is considered to be running as a PWA on iOS.

Implementation

static bool get isPwa {
  return WebUtils.isPwa &&
      web.window.navigator.userAgent.contains(RegExp(r'iPhone'));
}