Skip to content

Commit 206c765

Browse files
committed
feat(account): add event for deleting read items in notification center
- Add new event class `InAppNotificationCenterReadItemsDeleted` - This event is dispatched when user requests to delete all read items in the active tab
1 parent 339a035 commit 206c765

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/account/bloc/in_app_notification_center_event.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,10 @@ class InAppNotificationCenterFetchMoreRequested
6262
extends InAppNotificationCenterEvent {
6363
const InAppNotificationCenterFetchMoreRequested();
6464
}
65+
66+
/// Dispatched when the user requests to delete all read items in the
67+
/// currently active tab.
68+
class InAppNotificationCenterReadItemsDeleted
69+
extends InAppNotificationCenterEvent {
70+
const InAppNotificationCenterReadItemsDeleted();
71+
}

0 commit comments

Comments
 (0)