RecentChatItem constructor
const
RecentChatItem({
- Key? key,
- required RecentChatData item,
- required dynamic onTap(
- RecentChatData chatItem
- dynamic onLongPress(
- RecentChatData chatItem
- dynamic onAvatarClick(
- RecentChatData chatItem
- dynamic onchange(
- bool? value
- String spanTxt = "",
- bool isSelected = false,
- bool isCheckBoxVisible = false,
- bool isChecked = false,
- bool isForwardMessage = false,
- String typingUserid = "",
- bool archiveVisible = true,
- bool archiveEnabled = false,
- RecentChatItemStyle recentChatItemStyle = const RecentChatItemStyle(),
Implementation
const RecentChatItem(
{Key? key,
required this.item,
required this.onTap,
this.onLongPress,
this.onAvatarClick,
this.onchange,
this.spanTxt = "",
this.isSelected = false,
this.isCheckBoxVisible = false,
this.isChecked = false,
this.isForwardMessage = false,
this.typingUserid = "",
this.archiveVisible = true,
this.archiveEnabled = false,
this.recentChatItemStyle = const RecentChatItemStyle()})
: super(key: key);