UrlLauncher class

Constructors

UrlLauncher()
factory

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

isInstallApp(String str) Future<bool>
是否安装某个app Whether to install an app Android str 对应包名 Android str corresponds to the package name
isInstalled(String str) Future<bool>
Android str 对应包名 Android str corresponds to the package name ios str 对应 url schemes ios str corresponds to the url schemes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openAppStore(String str, {String? marketPackageName, LaunchMode mode = LaunchMode.platformDefault, WebViewConfiguration webViewConfiguration = const WebViewConfiguration(), String? webOnlyWindowName}) Future<bool>
ios str 对应app id ios str corresponds to the APP ID macOS str 对应app id macOS str corresponds to the APP ID android str 对应 packageName,安装多个应用商店时会弹窗选择, marketPackageName 指定打开应用市场的包名 Android str corresponds to packageName, which is selected when multiple app stores are installed. "marketPackageName" specifies the name of the package to open the app Market
openPhone(String phone) Future<bool>
拨打电话 Make a phone call
openSMS(String phone) Future<bool>
发送短信 Send a text message
openUrl(String url, {LaunchMode mode = LaunchMode.platformDefault, WebViewConfiguration webViewConfiguration = const WebViewConfiguration(), String? webOnlyWindowName}) Future<bool>
打开连接 Open the connection
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited