Flutter Webview Url management

150

In webview_flutter you get callback on

  1. PageStartedCallback
  2. PageLoadingCallback
  3. PageFinishedCallback

On PageStartedCallback callback you can get current url and assign it your variable like this.

WebView(
         onPageStarted(String url){
                  _appBarText = url;
                  setState((){});
           },
           ........
        ),
Share:
150
faysal neowaz
Author by

faysal neowaz

Hello During my current role at HAL Technologies Ltd., I was charged with developing android based innovative solutions across a variety of software platforms. I was instrumental in developing total front-end solution for android device for MyCash (A mobile base financial service from Mercantile Bank). A digital KYC were implemented were a customer for the bank can open a bank account by using android mobile/device. In 2020, I developed a flutter based mobile application named covid-19 response 2020.Where, a user can get latest updated and precaution information regarding corona epidemic. Below, I have mentioned some of my highlighted successful project experience: Android based authentication, validation, bill payment for my-cash users. I worked as android based solution Developer. Android Based Mobile apps for Rema Tea Company limited. My duties were including design and implement android base application for receiving attendance and work amount from Rema tea workers and connect api to a web service. Technologies and languages I master: Flutter, Android , XML, SOAP, JAVA , JSON, GIT Experience with all stages of Android development process. I will bring to your company my years of experience and my drive for results and positive outcomes; I am prepared for the next challenge in my career and look forward to hearing from you. Best Regards, Name: Faysal Neowaz email: [email protected]

Updated on December 28, 2022

Comments

  • faysal neowaz
    faysal neowaz over 1 year

    Hello everyone I have a app created with webview_flutter: ^2.0.2 this plugin I want to manage the url like a browser does. Like I want to show the user on which url currently they are. If the user click on any item on webview it reflect the url but not reload the page. I want to catch the url

    Note: I you need my code I can end it to you

  • faysal neowaz
    faysal neowaz about 3 years
    If the page is not reloaded but some webview content has clicked and url has been changed can i get that url?