creationParams property

CreationParams creationParams
final

Initial parameters used to setup the WebView.

Most of the WebView's properties (e.g. WebView.initialUrl, WebView.userAgent) are passed through to this backing property WebViewLinuxWidget.creationParams.

On Linux, the behavior of some properties of WebView differ from that on Android/iOS due to limitations of the underlying browser or we have not yet implemented some features. The support status of each property is managed in README.md.

As you can see from the description of CreationParams, the properties directly under CreationParams are only effective when the WebView is first created, and the properties under CreationParams.webSettings are values that can be dynamically updated by WebViewPlatformController.updateSettings. Note that userAgent is present in both of them.

Implementation

final CreationParams creationParams;