Notification Item Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Reusable list tile widget representing a single notification entry. Renders icon, title, body, timestamp, and read/unread state. Supports swipe-to-delete gesture and tap callback.
notification-item-widget
Responsibilities
- Render notification content with correct icon per category
- Display relative or absolute timestamp
- Visually distinguish read vs unread state
- Expose tap and swipe-delete callbacks
Interfaces
onTap(notification)
onDismiss(notificationId)
buildIcon(category)
formatTimestamp(createdAt)