UPwa class abstract
Web only: install state and the iOS "Add to Home Screen" guide; every getter is false off the web. if (UPwa.canPromptIosInstall) UPwa.promptIosInstall()
Constructors
- UPwa()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- canPromptIosInstall → bool
-
True when showing the "Add to Home Screen" guide makes sense (iOS browser, not installed yet).
no setter
- isAndroidBrowser → bool
-
True in a browser on Android.
no setter
- isIosBrowser → bool
-
True in a browser on iPhone/iPad/iPod.
no setter
- isIosSafari → bool
-
True only in real Safari on iOS (the only iOS browser that installs PWAs).
no setter
- isIphoneBrowser → bool
-
True in a browser on an iPhone.
no setter
- isStandalone → bool
-
True when opened from the home screen as an installed PWA.
no setter