shareText function

Future<ShareResult> shareText(
  1. String text, {
  2. String? subject,
})

Implementation

Future<ShareResult> shareText(String text, {String? subject}) {
  return Share.share(text, subject: subject);
}