Advertisement
Armen_06

Copy marketplace page's link and html code

May 24th, 2024 (edited)
614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.45 KB | None | 0 0
  1.             openInAppController.stream.listen((event) async {
  2.               if (widget.index != selectedIndexNotifier.value) return;
  3.  
  4.               final urlToLaunch = (await controller.getUrl()).toString();
  5.  
  6.               ApplicationMessagesService.showSnackBarGenericError(
  7.                    (await controller.getHtml()) as String);
  8.  
  9.               ApplicationMessagesService.showSnackBarGenericError(
  10.                    urlToLaunch);
  11.             });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement