InboxCard constructor
const
InboxCard({
- Key? key,
- required String senderName,
- required String preview,
- required String timestamp,
- String? avatarUrl,
- String? avatarInitials,
- Color? avatarColor,
- bool isUnread = false,
- int unreadCount = 0,
- bool isPinned = false,
- VoidCallback? onTap,
- VoidCallback? onArchive,
- VoidCallback? onDelete,
- String? subject,
Implementation
const InboxCard({
super.key,
required this.senderName,
required this.preview,
required this.timestamp,
this.avatarUrl,
this.avatarInitials,
this.avatarColor,
this.isUnread = false,
this.unreadCount = 0,
this.isPinned = false,
this.onTap,
this.onArchive,
this.onDelete,
this.subject,
});