onFindResultReceived property
void Function(PlatformFindInteractionController controller, int activeMatchOrdinal, int numberOfMatches, bool isDoneCounting)?
get
onFindResultReceived
Event fired as find-on-page operations progress.
The listener may be notified multiple times while the operation is underway, and the numberOfMatches
value should not be considered final unless isDoneCounting
is true.
activeMatchOrdinal
represents the zero-based ordinal of the currently selected match.
numberOfMatches
represents how many matches have been found.
isDoneCounting
whether the find operation has actually completed.
NOTE: on iOS, if InAppWebViewSettings.isFindInteractionEnabled is true
, this event will not be called.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebView.FindListener.onFindResultReceived)
- iOS
- MacOS
Implementation
void Function(PlatformFindInteractionController controller,
int activeMatchOrdinal, int numberOfMatches, bool isDoneCounting)?
get onFindResultReceived => params.onFindResultReceived;