shareText method
Opens the platform share sheet with text and an optional subject.
Implementation
Future<bool> shareText(String text, {String? subject}) {
if (text.trim().isEmpty) {
throw ArgumentError.value(text, 'text', 'Text cannot be empty.');
}
return NexoraSdkPlatform.instance.shareText(text, subject: subject);
}