findAll method
Finds all instances of find on the page and highlights them. Notifies PlatformFindInteractionController.onFindResultReceived listener.
find
represents the string to find.
NOTE: on Android native WebView, it finds all instances asynchronously. Successive calls to this will cancel any pending searches.
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.findAllAsync)
- iOS (if InAppWebViewSettings.isFindInteractionEnabled is
true
: Official API - UIFindInteraction.presentFindNavigator with Official API - UIFindInteraction.searchText) - MacOS
Implementation
Future<void> findAll({String? find}) => platform.findAll(find: find);