fluttercommunity / fluttercommunity/flutter_webview_plugin
Is there a way to show a progress indicator while waiting for page to load?
- Lingua principale
- Java
- Stelle
- 1.5k
- Fork
- 938
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia con WebviewScaffold e la chiamata Webview .launch() descritta nell’issue. Determina se esporre il parametro nascosto e un callback dello stato di pagina caricata può mantenere visibile l’indicatore fino al completamento del caricamento; il lavoro è completato quando esiste un modo supportato per mostrare l’avanzamento durante il caricamento della pagina.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- flutter
- Ambito
- mobile
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100