fl_wx 0.0.3 copy "fl_wx: ^0.0.3" to clipboard
fl_wx: ^0.0.3 copied to clipboard

Simple encapsulation and extension of fluwx,The fluwx plugin will be updated here.

fl_wx 简单封装 fluwx #


void func() {
  /// 启动注册
  FlWX().register(
      appId: '',
      params: FlWXBuilderParams(
          httpBuilder: (url) async {
            return '';
          },
          logBuilder: (v) => log(v),
          toastBuilder: (v) => showToast(v)));

  /// 安装判断
  FlWX().isInstalled;

  /// 授权登录
  FlWX().authBy(NormalAuth(scope: ''));

  /// 签名数据
  final pay = {}.toPayment();
  if (pay != null) FlWX().pay(pay);

  /// 打开微信
  FlWX().open(WeChatApp());

  /// 分享
  FlWX().share(WeChatShareTextModel('share'));
}

0
likes
130
pub points
57%
popularity

Publisher

unverified uploader

Simple encapsulation and extension of fluwx,The fluwx plugin will be updated here.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, fluwx

More

Packages that depend on fl_wx