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