secureScreen static method

Future<void> secureScreen(
  1. bool enable
)

Enable/disable screenshot and screen recording protection (Android FLAG_SECURE; iOS blur when captured).

Implementation

static Future<void> secureScreen(bool enable) async {
  await _impl.setSecureScreen(enable);
}