Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check loading completed #219

Closed
Dn-a opened this issue Oct 29, 2018 · 4 comments
Closed

check loading completed #219

Dn-a opened this issue Oct 29, 2018 · 4 comments

Comments

@Dn-a
Copy link

Dn-a commented Oct 29, 2018

Hi guys,
first question:
How can I check the loading completed?
second question:
the return widget
new Scaffold( appBar: widget.appBar, persistentFooterButtons: widget.persistentFooterButtons, bottomNavigationBar: widget.bottomNavigationBar, body: const Center(child: const CircularProgressIndicator()));
it is not shown on loading
thanks

@jordansilva
Copy link
Contributor

First question answer:
Did onStateChanged not work for you?

FlutterWebviewPlugin().onStateChanged.listen((WebViewStateChanged onData) {
      if (onData.type == WebViewState.finishLoad) {
        
      }
   });

@Dn-a
Copy link
Author

Dn-a commented Nov 2, 2018

I didn't tried, i'll keep you posted

@Dn-a
Copy link
Author

Dn-a commented Nov 19, 2018

it works, thanks

@charafau
Copy link
Collaborator

Seems like issue got resolved, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants