onNotification method
Implementation
onNotification(bool Function(Notification)? onNotification) {
_add(
(w) => NotificationListener(
child: w,
onNotification: onNotification,
),
);
}
onNotification(bool Function(Notification)? onNotification) {
_add(
(w) => NotificationListener(
child: w,
onNotification: onNotification,
),
);
}