apply method

Future<void> apply({
  1. required ProcessGlobalConfigSettings settings,
})

Applies the configuration to be used by WebView on loading. This method can only be called once.

Calling this method will not cause WebView to be loaded and will not block the calling thread.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • settings: all platforms

Use the PlatformProcessGlobalConfig.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<void> apply({required ProcessGlobalConfigSettings settings}) =>
    platform.apply(settings: settings);