shareText static method
Implementation
static Future<void> shareText(String? text, {String? title}) async {
if (kIsWeb) {
await Clipboard.setData(ClipboardData(text: text));
showFlushBar(value: true, textTrue: "Texto copiado");
} else {
await ModernFormShareHelper.text(text ?? "", subject: title);
}
}