NotificationListener< T extends Notification> constructor
Creates a widget that listens for notifications.
Implementation
const NotificationListener({
Key key,
@required this.child,
this.onNotification,
}) : super(key: key);