isPwa property
Indicates whether this device is considered to be running as a PWA on iOS.
Implementation
static bool get isPwa {
return kIsWeb &&
web.window.matchMedia('(display-mode: standalone)').matches &&
web.window.navigator.userAgent.contains(RegExp(r'iPhone'));
}