findNext method
- bool forward = true,
Highlights and scrolls to the next match found by findAll. Notifies PlatformFindInteractionController.onFindResultReceived listener.
forward represents the direction to search. The default value is true, meaning forward.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebView.findNext)
- iOS WKWebView:
- If InAppWebViewSettings.isFindInteractionEnabled is
true, it uses the built-in find interaction native UI, otherwise this is implemented using CSS and Javascript. In this case, it will use the Official API - UIFindInteraction.findNext and (Official API - UIFindInteraction.findPrevious
- If InAppWebViewSettings.isFindInteractionEnabled is
- macOS WKWebView
- Linux WPE WebKit (Official API - webkit_find_controller_search_next)
- Windows WebView2 (Official API - ICoreWebView2Find.FindNext/FindPrevious)
Parameters - Officially Supported Platforms/Implementations:
forward: all platforms
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> findNext({bool forward = true}) =>
platform.findNext(forward: forward);