findAll method

Future<void> findAll({
  1. String? find,
})

Finds all instances of find on the page and highlights them. Notifies PlatformFindInteractionController.onFindResultReceived listener.

find represents the string to find.

NOTE: on Android native WebView, it finds all instances asynchronously. Successive calls to this will cancel any pending searches.

NOTE: on iOS, if InAppWebViewSettings.isFindInteractionEnabled is true, it uses the built-in find interaction native UI, otherwise this is implemented using CSS and Javascript.

Officially Supported Platforms/Implementations:

Implementation

Future<void> findAll({String? find}) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent('find', () => find);
  await channel?.invokeMethod('findAll', args);
}