findNext method
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.
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:
- Android native WebView (Official API - WebView.findNext)
- iOS (if InAppWebViewSettings.isFindInteractionEnabled is
true
: Official API - UIFindInteraction.findNext and (Official API - UIFindInteraction.findPrevious)) - MacOS
Implementation
Future<void> findNext({bool forward = true}) =>
platform.findNext(forward: forward);