Need help with adding action buttons to push notifications Flutter

  1. I am trying to replicated whatsapp and messenger push notifications functionality like “when a call comes” on my flutter chat app with receive and decline option.
  • I am using FCM (Firebase cloud messenging) for flutter to send push notifications to devices. It helped me with showing Push Notifications when someone starts a chat but not on when customer clicks on call button. I want user to have options to accept or decline call from action bar itself.

Goal:

  • User see two action buttons with "Accept and “Decline” in push notifications along with call ringtone that rings longer until user accepts/declines a call.

Please suggest if there is anything like this achievable through flutter or I need any other language help.

Will be waiting for a quick response!

Thanks,
Tara