I want to set a custom notification layout for my fcm notification received by flutter app . I have already created notification layout using xml but i am having trouble integrating it with my flutter android app .

Things i have done :

  1. I have read through Custom Notification by developer.android
  2. Have already set up my custom_notification_layout.xml
  3. Have also designed a notification handler for flutter code.

Thing I want

When the fcm notification arrives , the app shows my own custom layout and behave the same way as any other notification does :

  1. opens my Flutter and passes Remote Message to


Any help will be highly appreciated Thank You .