How to send push notification with a button press using flutter app

Viewed 659

Can someone help me? I want to notify all the users who installed my app. I was going to firebase cloud messaging and I am pushing a notification from there. But I want to create a button that collects the information from my textfield and push a notification to all the users. I have been trying this for 24+ hours but I have found no solution. Thank you.

1 Answers
Related