ActionItem constructor
ActionItem({
- required String type,
- required Widget icon,
- String? title,
- dynamic onTap(
- BuildContext context,
- String conversationId,
- NIMConversationType sessionType, {
- NIMMessageSender? messageSender,
- List<
Permission> ? permissions, - bool enable = true,
- String? deniedTip,
Implementation
ActionItem(
{required this.type,
required this.icon,
this.title,
this.onTap,
this.permissions,
this.enable = true,
this.deniedTip});