shareText method
Implementation
Future<void> shareText(String text) async {
final handled =
await DVNativeBridge.require<bool>('share.text', {'text': text});
if (!handled) {
throw StateError('Native share binding rejected the request.');
}
_lastSharedText = text;
}