fluttercommunity / fluttercommunity/flutter_webview_plugin

WebviewScaffold alway on top

Aperta
#760 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
1.5k
Fork
938
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

There is no way to display a FloatingActionButton over the webview. The button shows one sec then disapper. Stack seems not working. The WebviewScaffold remains always on top

Scaffold(
body: SafeArea(child: WebviewScaffold(
url: "http://192.168.4.100:8080",
withJavascript: true,
javascriptChannels: [
_alertJavascriptChannel(context),
].toSet(),
),),
floatingActionButton: Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
Visibility(
visible: _isFlashButtonOn,
child: FloatingActionButton(
onPressed: _toggleFlash,
tooltip: 'Toggle Flash',
backgroundColor: Colors.purple,
child: Icon(Icons.lightbulb_outline),
),),
SizedBox(
width: 10,
),
Visibility(
visible: _isButtonOn,
child: FloatingActionButton(
onPressed: _readBarcode,
tooltip: 'Scan Barcode',
child: Icon(Icons.camera_alt),
),),
],
),
),

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

No source file or test is named. Start by reproducing the provided Scaffold and WebviewScaffold example, then trace the plugin's WebView layering behavior on the affected platform. Done means the FloatingActionButton remains visible and usable over the WebView instead of disappearing after a second.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter, java
Ambito
mobile
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.