Add NotificationConsumer widget
nivisi opened this issue · comments
It will be both builder and listener at the same time:
NotificationConsumer(
onNotification: (notification) {
...
},
buildWhen: (notification) {
...
},
builder: (context, notification, child) {
...
},
child: ...,
)