hideInputMethod method
Request to hide the soft input view from the context of the view that is currently accepting input.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - InputMethodManager.hideSoftInputFromWindow)
- iOS WKWebView (Official API - UIView.endEditing)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> hideInputMethod() => platform.hideInputMethod();