flutter_webview_plugin icon indicating copy to clipboard operation
flutter_webview_plugin copied to clipboard

WebviewScaffold alway on top

Open firstlevelIT opened this issue 5 years ago • 2 comments

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: <JavascriptChannel>[ _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), ),), ], ), ),

firstlevelIT avatar May 25 '20 15:05 firstlevelIT

similar issie https://github.com/flutter/flutter/issues/45061

firstlevelIT avatar May 25 '20 18:05 firstlevelIT

@firstlevelIT Have you found any fix to this?

harshkumarkhatri avatar May 18 '21 07:05 harshkumarkhatri