launchChooser method

Future<void> launchChooser(
  1. String title
)

主要提供给Android到 ,iOS还是触发launch函数

Implementation

Future<void> launchChooser(String title) async {
  if (!Platform.isAndroid) {
    launch();
    return;
  }

  final buildArguments = _buildArguments();
  buildArguments['chooserTitle'] = title;
  await _channel.invokeMethod<void>(
    'launchChooser',
    buildArguments,
  );
}