I am working on an alarm app. I want to know that how can I set the alarm in flutter app as in the android we use alarm manager to trigger alarm function. Need for both platform Ios and Android.
In flutter, there are two types of widgets – Stateless and Stateful widget. The stateless widget is used to create static widgets and the stateful widget is used to create dynamic widgets. Since time is a dynamic factor, we need to use the stateful widget to create the analog clock.
android.app.AlarmManager. This class provides access to the system alarm services. These allow you to schedule your application to be run at some point in the future.
Follow https://github.com/flutter/flutter/issues/3671 for updates.
So, for now, you can use regular Java and Objective-C code to solve the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With