Skip to content

Commit a1c530f

Browse files
committed
feat(account): add event for fetching more notifications
Add a new event InAppNotificationCenterFetchMoreRequested to be dispatched when the user scrolls to the end of a notification list and more data needs to be fetched.
1 parent e5a5bce commit a1c530f

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
@@ -55,3 +55,10 @@ class InAppNotificationCenterMarkOneAsRead
5555
@override
5656
List<Object> get props => [notificationId];
5757
}
58+
59+
/// Dispatched when the user scrolls to the end of a notification list and
60+
/// more data needs to be fetched.
61+
class InAppNotificationCenterFetchMoreRequested
62+
extends InAppNotificationCenterEvent {
63+
const InAppNotificationCenterFetchMoreRequested();
64+
}

0 commit comments

Comments
 (0)