{"repo":"gdelataillade/alarm","free":true,"listed":false,"github":"https://github.com/gdelataillade/alarm","clone":"git clone https://github.com/gdelataillade/alarm.git","description":"A Flutter plugin to easily manage alarms on iOS and Android","language":"Dart","stars":194,"topics":["alarm","dart","flutter","avaudioplayer","android","ios","android-app","alarm-manager","package","timer"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Alarm plugin for iOS and Android This plugin offers a straightforward interface to set and cancel alarms on both iOS and Android devices. Using native code, it handles audio playback, vibrations, system volume, and notifications seamlessly. 📋 Table of contents - 🔧 Installation steps - 📖 How to use - AlarmSettings model - NotificationSettings model - VolumeSettings model - 📱 Example app - ⏰ Alarm behaviour - 📋 Logging - ❓ FAQ - ⚙️ Under the hood - ✉️ Feature request - 💙 Contributing 🔧 Installation steps Please carefully follow these installation steps. They have been updated for plugin version 5.0.0 . iOS Setup Android Setup 📖 How to use Add to your pubspec.yaml: First, you have to initialize the Alarm service in your main function: Then, you have to define your alarm settings: And finally set the alarm: AlarmSettings model Property Type Description --------------------------------------------------- ---------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- id int Unique identifier of the alarm. dateTime DateTime The date and time you want your alarm to ring. assetAudioPath String? The path to your audio asset you want to use as ringtone. Can be a path in your assets folder or a local file path with Android permission. If null , the device's default alarm sound will be used. loopAudio bool If true, audio will ","default_branch":null,"files":null,"tree":[],"storefront":"/r/gdelataillade","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gdelataillade/alarm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}