onFindResultReceived property

(void Function(FindInteractionController controller, int activeMatchOrdinal, int numberOfMatches, bool isDoneCounting)?) onFindResultReceived
final

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.

Supported Platforms/Implementations:

Implementation

final void Function(
    FindInteractionController controller,
    int activeMatchOrdinal,
    int numberOfMatches,
    bool isDoneCounting)? onFindResultReceived;