NotificationListenerModifier<T extends Notification> constructor
const
NotificationListenerModifier<T extends Notification> ({
- Key? key,
- Widget? child,
- Key? modifierKey,
- NotificationListenerCallback<
T> ? onNotification,
Creates a widget that listens for notifications.
Implementation
const NotificationListenerModifier({
super.key,
super.child,
super.modifierKey,
this.onNotification,
});