occludeSensitiveScreenWithoutGesture static method
This method is used with parameter to occlude following screen and prevent from registering Gestures.
hideScreen
is boolean value.
eg: occludeSensitiveScreenWithoutGesture(true); ---> will hide eg: occludeSensitiveScreenWithoutGesture(false); ---> will unhide if hidden
Implementation
static Future<void> occludeSensitiveScreenWithoutGesture(
bool hideScreen) async {
await _channel.invokeMethod('occludeSensitiveScreenWithoutGesture',
{"key": hideScreen, "withoutGesture": true});
}