findNext method

Future<void> findNext({
  1. required bool forward,
})

Highlights and scrolls to the next match found by findAllAsync. Notifies WebView.onFindResultReceived listener.

forward represents the direction to search.

NOTE: on iOS, this is implemented using CSS and Javascript.

Supported Platforms/Implementations:

Implementation

Future<void> findNext({required bool forward}) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent('forward', () => forward);
  await _channel.invokeMethod('findNext', args);
}