getSearchText method

Future<String?> getSearchText()

Get the search text used.

On iOS, if InAppWebViewSettings.isFindInteractionEnabled is `true, it will get the system find panel's search text field value.

Supported Platforms/Implementations:

Implementation

Future<String?> getSearchText() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await _channel?.invokeMethod('getSearchText', args);
}