setOnLockScreenVisibility static method

Future<void> setOnLockScreenVisibility({
  1. required bool? isVisible,
})

Implementation

static Future<void> setOnLockScreenVisibility({
  required bool? isVisible,
}) async {
  if (!Platform.isAndroid) return;

  return _channel.invokeMethod("setOnLockScreenVisibility", {
    'is_visible': isVisible,
  });
}