fluttercommunity / fluttercommunity/flutter_webview_plugin
WebviewScaffold alway on top
- Langage dominant
- Java
- Étoiles
- 1.5k
- Forks
- 938
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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),
),),
],
),
),
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart, flutter, java
- Domaine
- mobile
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100