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

isInstalledApp({String? packageName, String? appId}) Future<bool>
是否安装某个app
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openAppStore({String? packageName, String? marketPackageName, bool androidUseIntent = true, String? appId, LaunchMode mode = LaunchMode.platformDefault, WebViewConfiguration webViewConfiguration = const WebViewConfiguration(), String? webOnlyWindowName}) Future<bool>
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