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.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • controller: all platforms
  • activeMatchOrdinal: all platforms
  • numberOfMatches: all platforms
  • isDoneCounting: all platforms

Use the PlatformFindInteractionControllerCreationParams.isPropertySupported method to check if this property is supported at runtime.

Implementation

void Function(
  PlatformFindInteractionController controller,
  int activeMatchOrdinal,
  int numberOfMatches,
  bool isDoneCounting,
)?
get onFindResultReceived => params.onFindResultReceived;