findNext method
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:
- Android native WebView (Official API - WebView.findNext)
- iOS
Implementation
Future<void> findNext({required bool forward}) async {
Map<String, dynamic> args = <String, dynamic>{};
args.putIfAbsent('forward', () => forward);
await _channel.invokeMethod('findNext', args);
}