Advertisement
Armen_06

Untitled

May 8th, 2024
569
0
2 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.43 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(urlToLaunch);
  10.             });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement