assetAudioPath property
Path to audio asset to be used as the alarm ringtone. Accepted formats:
-
Project asset:
assets/your_audio.mp3
. -
Local asset:
/path/to/your/audio.mp3
, which is yourFile.path
.
For iOS, you need to drag and drop your asset(s) to your Runner
folder
in Xcode and make sure 'Copy items if needed' is checked.
Check out README.md for more informations.
Implementation
final String assetAudioPath;