text static method

Future<UShareResult> text(
  1. String text, {
  2. String? subject,
  3. String? title,
  4. Rect? origin,
})

Shares text; subject is used by email apps; on iPad/macOS pass origin. Linux copies to the clipboard. UShare.text("Check this out", origin: UShare.originOf(context))

Implementation

static Future<UShareResult> text(String text, {String? subject, String? title, Rect? origin}) => UShareChannel.share(text: text, subject: subject, title: title, origin: origin);