shareWebAndImgUrl function

Future<void> shareWebAndImgUrl({
  1. String title = '',
  2. String desc = '',
  3. required String wepageUrl,
  4. required String imageUrl,
})

分享网页,并附带一个图片URL作为缩略图。

Implementation

Future<void> shareWebAndImgUrl({
  String title = '',
  String desc = '',
  required String wepageUrl,
  required String imageUrl,
}) async {
  await _channel.invokeMethod("shareWebUrl", {
    "title": title,
    "desc": desc,
    "wepageUrl": wepageUrl,
    "imageUrl": imageUrl,
  });
}