findAllAsync method
Finds all instances of find on the page and highlights them. Notifies WebView.onFindResultReceived listener.
find
represents the string to find.
NOTE: on Android, it finds all instances asynchronously. Successive calls to this will cancel any pending searches.
NOTE: on iOS, this is implemented using CSS and Javascript.
Official Android API: https://developer.android.com/reference/android/webkit/WebView#findAllAsync(java.lang.String)
Implementation
Future<void> findAllAsync({required String find}) async {
Map<String, dynamic> args = <String, dynamic>{};
args.putIfAbsent('find', () => find);
await _channel.invokeMethod('findAllAsync', args);
}