键盘打开时,Flutter中的WebviewScaffold无法滚动。我怎样才能解决这个问题呢?以下是我的代码
WebviewScaffold(
url: url,
scrollBar: true,
clearCache: false,
clearCookies: false,
withJavascript: true,
geolocationEnabled: true,
// run javascript
withZoom: false,
// if you want the user zoom-in and zoom-out
hidden: false,
// put it true if you want to show CircularProgressIndicator while waiting for the page to load
appCacheEnabled: true,
)发布于 2020-05-06 18:41:08
你可以从这里得到一些帮助,你可以使用这个项目中的webview:
发布于 2020-05-07 14:41:28
Scaffold(
body: ConstrainedBox(
constraints: BoxConstraints(maxHeight: MediaQuery.of(context).size.height),
child: Container(
child: <your widget>,
),
),
)https://stackoverflow.com/questions/61632621
复制相似问题