fluttercommunity / fluttercommunity/flutter_webview_plugin

Is there a way to show a progress indicator while waiting for page to load?

Ouverte
#159 0 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
1.5k
Forks
938
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I'm loading a page generated by a cloud function so it can take a couple of seconds.
Is there a way to show a waiting or progress indicator..?
In the code for WebviewScaffold I see you return a standard scaffold with a circular progress indicator but it immediately gets hidden by the webview .launch() method.

Would be cool if we cloud have the "hidden" parameter also exposed by WebviewScaffold so that we could see the underlying circular progress indicator. Then maybe an onstate change handler to show() the webview once the page is loaded?

I can give this a crack myself... but wondering if there is an alternative or better way?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.