getSearchText method
Get the search text used.
On iOS, if InAppWebViewSettings.isFindInteractionEnabled
is `true,
it will get the system find panel's search text field value.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS (Official API - UIFindInteraction.searchText)
- MacOS
Implementation
Future<String?> getSearchText() async {
Map<String, dynamic> args = <String, dynamic>{};
return await channel?.invokeMethod<String?>('getSearchText', args);
}