setSearchText method

Future<void> setSearchText(
  1. String? searchText
)

Pre-populate the search text to be used.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • searchText: all platforms

Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<void> setSearchText(String? searchText) =>
    platform.setSearchText(searchText);