setInputMethodEnabled method
- @SupportedPlatforms.new(platforms: [IOSPlatform(apiName: 'UIResponder.inputView', apiUrl: 'https://developer.apple.com/documentation/uikit/uiresponder/1621092-inputview')])
- bool enabled
Enables/Disables the input method (system-supplied keyboard) whilst interacting with the webview.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - UIResponder.inputView)
Parameters - Officially Supported Platforms/Implementations:
enabled: all platforms
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
IOSPlatform(
apiName: 'UIResponder.inputView',
apiUrl:
'https://developer.apple.com/documentation/uikit/uiresponder/1621092-inputview',
),
],
)
Future<void> setInputMethodEnabled(bool enabled) {
throw UnimplementedError(
'${PlatformInAppWebViewControllerMethod.setInputMethodEnabled.name} is not implemented on the current platform',
);
}