title: flutter webview App not working call funtion on flutter app
body: <p>not working call funtion on flutter app showing net:err_unknown_url_scheme on click call button site or not opening call dialler app showing net:err_unknown_url_scheme</p>
  <p>main.dart page</p>
  <pre><code>import 'package:flutter/material.dart';
  import 'package:web_view/pages/UrlLaunch.dart';
  void main() {
  runApp(const MyApp());
   }
  
  class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);
  
   @override
   State&lt;MyApp&gt; createState() =&gt; _MyAppState();
    }
  
   class _MyAppState extends State&lt;MyApp&gt; {
  @override
   Widget build(BuildContext context) {
   // ignore: prefer_const_constructors
   return MaterialApp(
    debugShowCheckedModeBanner: false,
    title: 'Real Manager',
    // ignore: prefer_const_constructors
    home: UrlPage(),
    // ignore: prefer_const_constructors
    
       );
     }
    }
  </code></pre>
  <p>UrlLaunch.dart page</p>
  <pre><code>import 'package:flutter/material.dart';
  // ignore: unused_import
  import 'package:http/http.dart';
   // ignore: unused_import
  import 'package:url_launcher/url_launcher.dart';
  import 'package:webview_flutter/webview_flutter.dart';
  
  class UrlPage extends StatefulWidget {
  const UrlPage({Key? key}) : super(key: key);
  
  @override
  State&lt;UrlPage&gt; createState() =&gt; _UrlPageState();
   }
  
  class _UrlPageState extends State&lt;UrlPage&gt; {
   @override
   Widget build(BuildContext context) {
  String url = 'https://development.realmanager.in/Management/index.php';
  return Scaffold(
      appBar: AppBar(
        title: const Text('Welcome to Real Manager'),
      ),
      body: WebView(
          javascriptMode: JavascriptMode.unrestricted,
          initialUrl: url,
          navigationDelegate: (request) async {
            if (request.url.startsWith('tel:')) {
              launch('tel:01761685693');
              return NavigationDecision.prevent;
            } else {
              throw 'Could not launch $url';
            }
           })
  
      
          );
         }
        }
  </code></pre>
  <p>not working call funtion on flutter app showing net:err_unknown_url_scheme on click call button site or not opening call dialler app showing net:err_unknown_url_scheme</p>