You can get record status to check if screenrecord still active
Future<bool> isRecording() { return _channel.invokeMethod("isRecording").then((value) => value ?? false); }