fluttercommunity / fluttercommunity/flutter_webview_plugin

WebviewScaffold alway on top

オープン
#760 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
1.5k
フォーク
938
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。