clearFocus method

  1. @override
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

@override
Future<void> clearFocus() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await channel?.invokeMethod('clearFocus', args);
}