File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -235,3 +235,18 @@ class AppAllInAppNotificationsMarkedAsRead extends AppEvent {
235235 /// {@macro app_all_in_app_notifications_marked_as_read}
236236 const AppAllInAppNotificationsMarkedAsRead ();
237237}
238+
239+ /// {@template app_notification_tapped}
240+ /// Dispatched when a push notification is tapped by the user from the system
241+ /// tray, signaling that it should be marked as read.
242+ /// {@endtemplate}
243+ class AppNotificationTapped extends AppEvent {
244+ /// {@macro app_notification_tapped}
245+ const AppNotificationTapped (this .notificationId);
246+
247+ /// The unique ID of the notification that was tapped.
248+ final String notificationId;
249+
250+ @override
251+ List <Object > get props => [notificationId];
252+ }
You can’t perform that action at this time.
0 commit comments