clearFocus method

Future<void> clearFocus()

Clears the current focus. On iOS and Android native WebView, it will clear also, for example, the current text selection.

Officially Supported Platforms/Implementations:

Implementation

Future<void> clearFocus() {
  throw UnimplementedError(
      'clearFocus is not implemented on the current platform');
}