fluttercommunity / fluttercommunity/flutter_webview_plugin

WebviewScaffold alway on top

Abierto
#760 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
1.5k
Forks
938
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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),
),),
],
),
),

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.