FlutterWechateSharePlugin class

Constructors

FlutterWechateSharePlugin()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

getApiVersion() Future
获取微信的版本.
isWechatInstalled() Future
检测本地是否安装了微信
login(Map<String, String> arguments) Future
登陆 { "scope": "snsapi_userinfo", "state": "customestate" }
openWechat() Future
打开微信app.
register(String appid, {String universalLink = ''}) Future
通过 微信 appid 注册应用,universalLink 为 ios 平台的必传参数
share(Map<String, dynamic> arguments) Future
分享方法的调用入口 参数 { "kind": "text", "to": "session", timeline - 分享到朋友圈,favorite - 收藏,session - 分享到好友(默认) "title": "the title of message", "description": "short description of message.", "coverUrl": "https://example.com/path/to/cover/image.jpg", "resourceUrl": "https://example.com/path/to/resource.mp4" }
startMiniProgram(String originalId, {String path, String type = "0"}) Future
打开微信小程序