findAll method
- String? find,
Finds all instances of find on the page and highlights them. Notifies PlatformFindInteractionController.onFindResultReceived listener.
find represents the string to find.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebView.findAllAsync):
- It finds all instances asynchronously. Successive calls to this will cancel any pending searches.
- 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.presentFindNavigator with Official API - UIFindInteraction.searchText
- If InAppWebViewSettings.isFindInteractionEnabled is
- macOS WKWebView
- Linux WPE WebKit (Official API - webkit_find_controller_search)
- Windows WebView2 (Official API - ICoreWebView2Find.Start)
Parameters - Officially Supported Platforms/Implementations:
find: all platforms
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> findAll({String? find}) => platform.findAll(find: find);