nivisi / notification_builder

🦻 A widget that builds using notifications dispatched via the build context.

Home Page:https://pub.dev/packages/notification_builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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: ...,
)