Determines whether SDK is currently in UI hierarchy.
Future<bool> get isOnscreen async { final result = await _channel.invokeMethod<bool>('display:isOnscreen').then<bool>((bool? value) => value ?? false); return result; }