Push Notifications — Flutter

First of all make sure that your app is linked with a Firebase account.
NOTE: This is only the initial phase into push notifications (Manual Notifications from Firebase).
Add firebase_messaging dependency in pubspec.yaml file:
firebase_messaging: ^7.0.0
Then you need to import firebase_messaging dependency in your required .dart file.
import ‘package:firebase_messaging/firebase_messaging.dart’;

Go to CLOUD MESSAGING in your Firebase console.

Fill in your sample notification to send.
Click on Send Text Message, following dialogue will appear:

Copy the token number which is printed in the debug console and add in the above above text field.
Fill in the check box and click on test.
“MAKE SURE THAT YOUR APP IS CLOSED ON YOUR EMULATOR OR PHYSICAL DEVICE”
HERE IS THE FINAL OUTPUT:

Enjoy!
Stay tuned for Automatic Push Notifications.