isActive static method

Future<bool> isActive()

Check if the current overlay is active

Implementation

static Future<bool> isActive() async {
  final bool? _res = await _channel.invokeMethod<bool?>('isOverlayActive');
  return _res ?? false;
}