android static method

_AndroidShareSheet android({
  1. required ShareItAndroidParameters parameters,
})

You need to call present() to present the share sheet

Implementation

static _AndroidShareSheet android({required ShareItAndroidParameters parameters}) {
  if (kReleaseMode && !Platform.isAndroid) {
    throw PlatformException(code: '0', message: '_AndroidShareSheet is only available on Android platform');
  }
  return _AndroidShareSheet(parameters: [parameters]);
}