setOptions method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform()])
- @Deprecated('Use setSettings instead')
- required InAppBrowserClassOptions options,
Use setSettings instead.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
Parameters - Officially Supported Platforms/Implementations:
options: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform()])
@Deprecated('Use setSettings instead')
Future<void> setOptions({required InAppBrowserClassOptions options}) {
throw UnimplementedError(
'setOptions is not implemented on the current platform',
);
}