79307317

Date: 2024-12-25 10:04:12
Score: 1.5
Natty:
Report link

You can checkout webview_flutter 4.10.0 which is recommended by flutter here.

Using -

onNavigationRequest: (NavigationRequest request) {
    if (request.url.startsWith('https://www.youtube.com/')) {
      return NavigationDecision.prevent;
    }
    return NavigationDecision.navigate;
  },

You can extract the url of the page, user is visiting.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Newb