FCMNotificationListener constructor
const
FCMNotificationListener({
- Key? key,
- required Widget child,
- required dynamic onNotification(
- RemoteMessage notification,
- VoidCallback setState
Implementation
const FCMNotificationListener(
{Key? key, required this.child, required this.onNotification})
: super(key: key);