dismissFindNavigator method
- @SupportedPlatforms.new(platforms: [IOSPlatform(apiName: 'UIFindInteraction.dismissFindNavigator', apiUrl: 'https://developer.apple.com/documentation/uikit/uifindinteraction/3975827-dismissfindnavigator?changes=_2', note: 'Available only if [InAppWebViewSettings.isFindInteractionEnabled] is `true`.')])
Dismisses the find panel, if present.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - UIFindInteraction.dismissFindNavigator):
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
true.
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
IOSPlatform(
apiName: 'UIFindInteraction.dismissFindNavigator',
apiUrl:
'https://developer.apple.com/documentation/uikit/uifindinteraction/3975827-dismissfindnavigator?changes=_2',
note:
'Available only if [InAppWebViewSettings.isFindInteractionEnabled] is `true`.',
),
],
)
Future<void> dismissFindNavigator() {
throw UnimplementedError(
'dismissFindNavigator is not implemented on the current platform',
);
}