isHidden method
Check if the Web View of the PlatformInAppBrowser
instance is hidden.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
- Windows
Implementation
@override
Future<bool> isHidden() async {
assert(_isOpened, 'The browser is not opened.');
Map<String, dynamic> args = <String, dynamic>{};
return await channel?.invokeMethod<bool>('isHidden', args) ?? false;
}