Future<bool> cancelAudio() async { final path = await recorder.stop(); if (path != null) { return true; } return false; }