shareUri static method
Summons the platform's share sheet to share uri.
Wraps the platform's native share dialog. Can share a URL.
It uses the ACTION_SEND
Intent on Android and UIActivityViewController
on iOS. shareUri will trigger the iOS system to fetch the html page
(if available), and the website icon will be extracted and displayed on
the iOS share sheet.
Implementation
static Future<void> shareUri(
Uri uri,
) async {
return _platform.shareUri(uri);
}