shareText method

  1. @override
Future<void> shareText({
  1. required int scene,
  2. required String summary,
})
override

分享 - 文本(Android调用的是系统API,故而不会有回调)

Implementation

@override
Future<void> shareText({
  required int scene,
  required String summary,
}) {
  assert(scene == TencentScene.kScene_QQ);
  return methodChannel.invokeMethod<void>(
    'shareText',
    <String, dynamic>{
      'scene': scene,
      'summary': summary,
    },
  );
}