showQuickPosterEasyShareBoard method
void
showQuickPosterEasyShareBoard(
弹出常见的分享面板(+海报根据key快捷获取)
Implementation
void showQuickPosterEasyShareBoard(
BuildContext context, {
GlobalKey? posterRepaintBoundaryGlobalKey,
bool showCopyLink = false, // 是否显示分享复制链接的入口
String? bizId,
required int bizType, // 请使用 AppShareBizType
String? title,
String? description,
WeChatImage? thumbnailImage,
}) {
showEasyShareBoard(
context,
posterHandle: posterRepaintBoundaryGlobalKey == null
? null
: () {
PosterShareUtil.getAndSaveScreensShot(
context,
screenRepaintBoundaryGlobalKey: posterRepaintBoundaryGlobalKey,
).then((value) {
Navigator.pop(context);
});
},
showCopyLink: showCopyLink,
bizId: bizId,
bizType: bizType,
title: title,
description: description,
thumbnailImage: thumbnailImage,
);
}