isInFullscreen method

  1. @override
Future<bool> isInFullscreen()

Returns true if the WebView is in fullscreen mode, otherwise false.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

@override
Future<bool> isInFullscreen() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await channel?.invokeMethod<bool>('isInFullscreen', args) ?? false;
}