title: Is there a way to stop alarm sound by swiping from notification in Flutter
body: <p>I wanted to call the alarm when the notification came. I achieved it but I'm not stopping the alarm by swiping the notification. Here is my code example:</p>
  <pre><code>Future&lt;void&gt; _messageHandler(RemoteMessage message) async {
    debugPrint('Incoming notification is ${message.notification!.body}');
    FlutterRingtonePlayer.playAlarm(asAlarm: false);
    //FlutterRingtonePlayer.stop();
  }
  
  void main() async{
    HttpOverrides.global = new MyHttpOverrides();
    WidgetsFlutterBinding.ensureInitialized();
    await Firebase.initializeApp();
    FirebaseMessaging.onBackgroundMessage(_messageHandler);
    runApp(MyApp());
  }
  </code></pre>
  <p>Therefore, is there any way to fix this problem? I'm waiting for your ideas, thank you...</p>