showAlarmPage method

  1. @override
Future<void> showAlarmPage()
override

Opens the system's notifications settings page for the app's alarms.

This method returns a Future that resolves when the notification settings page is opened. The user can then configure the alarm settings for the app, such as setting a custom alarm sound, enabling or disabling alarms, and so on.

This method can be used to provide a way for users to easily access and manage the alarm settings for your app. For example, you might add a button to your app's settings page that calls this method when tapped, or include a prompt in your app to encourage users to visit the alarm settings page to configure their alarms.

Implementation

@override
Future<void> showAlarmPage() async {
  await methodChannel.invokeMethod(CHANNEL_METHOD_SHOW_ALARM_PAGE);
}