setSettings method

Future<void> setSettings({
  1. required InAppWebViewSettings settings,
})

Sets the WebView settings with the new settings and evaluates them.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS
  • Web

Implementation

Future<void> setSettings({required InAppWebViewSettings settings}) =>
    platform.setSettings(settings: settings);