setInputMethodEnabled method

  1. @SupportedPlatforms.new(platforms: [IOSPlatform(apiName: 'UIResponder.inputView', apiUrl: 'https://developer.apple.com/documentation/uikit/uiresponder/1621092-inputview')])
Future<void> setInputMethodEnabled(
  1. bool enabled
)

Enables/Disables the input method (system-supplied keyboard) whilst interacting with the webview.

Officially Supported Platforms/Implementations:

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',
  );
}