Util class
Constructors
- Util()
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 Methods
-
getPlatformType(
) → PlatformType -
isInstalled(
String? uri) → Future< bool> - Detects if the given app (Represented by the URI) is installed. If on android/ios, this uses the AppCheck library. On web, this uses the injected values in the Javascript.
-
isMobileWidth(
BuildContext context) → bool -
launchRedirect(
{Uri? nativeUri, Uri? universalUri}) → Future< void>