I come asking for quite a specific question regarding Flutter and the Future and await mechanism, which seems to be working, but my Clipboard does not really function while
It's works for me:
_getFromClipboard() async { Map result = await SystemChannels.platform.invokeMethod('Clipboard.getData'); if (result != null) { return result['text'].toString(); } return ''; }