fl_webview library

Classes

ExtendedFlWebViewWithScrollView
固定的 webView 高度,建议设置为当前可视高度 滚动中不会卡顿 Fixed webView height. It is recommended to set it to the current viewable height There is no lag in scrolling
FileChooserParams
FlAdaptHeightWevView
webView content 有多高, widget 就有多高 仅适用 内容比较少的时候 The widget is as tall as the WebView content is on ios, if the WebView is too high and there are too many images, swiping will stall only applicable when there is little content
FlProgressBar
FlWebView
FlWebViewController
FlWebViewDelegate
FlWebViewManager
JavascriptChannel
A named channel for receiving messaged from JavaScript code running inside a web view.
LoadDataRequest
LoadRequest
LoadUrlRequest
WebResourceError
Error returned in WebView.onWebResourceError when a web resource loading error has occurred.
WebSettings
WebViewPlatform
WebViewSize

Enums

FileChooserMode
JavascriptMode
ScrollPositioned
Scroll Positioned
WebResourceErrorType
Possible error type categorizations used by WebResourceError.

Typedefs

ExtendedFlWebViewBuilder = Widget Function(FlWebViewDelegateWithSizeCallback onSizeChanged, FlWebViewDelegateWithScrollChangedCallback onScrollChanged, WebViewCreatedCallback onWebViewCreated)
返回的Widget树中需要包含FlWebView The Widget tree returned needs to include FlWebView
FlWebViewDelegateWithGeolocationPermissionsShowPrompt = FutureOr<bool> Function(FlWebViewController controller, String? origin)
FlWebViewDelegateWithNavigationRequest = FutureOr<bool> Function(FlWebViewController controller, NavigationRequest request)
FlWebViewDelegateWithPermissionRequest = FutureOr<bool> Function(FlWebViewController controller, List<String>? resources)
FlWebViewDelegateWithPermissionRequestCanceled = void Function(FlWebViewController controller, List<String>? resources)
FlWebViewDelegateWithProgressCallback = void Function(FlWebViewController controller, int progress)
FlWebViewDelegateWithScrollChangedCallback = void Function(FlWebViewController controller, WebViewSize webViewSize, Offset offset, ScrollPositioned positioned)
FlWebViewDelegateWithShowFileChooser = FutureOr<List<String>> Function(FlWebViewController controller, FileChooserParams params)
FlWebViewDelegateWithSizeCallback = void Function(FlWebViewController controller, WebViewSize webViewSize)
FlWebViewDelegateWithUrlCallback = void Function(FlWebViewController controller, String? url)
FlWebViewDelegateWithWebResourceError = void Function(FlWebViewController controller, WebResourceError error)
NestedScrollViewBuilder = Widget Function(ScrollController controller, bool canScroll, Widget webView)
返回的Widget树中需要包含ScrollView The Widget tree returned needs to include ScrollView
WebViewCreatedCallback = void Function(FlWebViewController controller)