Inheritance
System.Object
NotificationListener<T>
public class NotificationListener<T> : StatelessWidget, _NotificationListener where T : Notification
Type Parameters
Constructors
Declaration
public NotificationListener(Key key = null, Widget child = null, NotificationListenerCallback<T> onNotification = null)
Parameters
Fields
Declaration
public readonly Widget child
Field Value
Declaration
public readonly NotificationListenerCallback<T> onNotification
Field Value
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides