CometChatMessageComposerAction constructor

const CometChatMessageComposerAction({
  1. required String id,
  2. required String title,
  3. String? iconUrl,
  4. String? iconUrlPackageName,
  5. Color? iconTint,
  6. Color? iconBackground,
  7. double? iconCornerRadius,
  8. Color? background,
  9. double? cornerRadius,
  10. TextStyle? titleStyle,
  11. dynamic onItemClick(
    1. BuildContext,
    2. User?,
    3. Group?
    )?,
})

CometChatMessageComposerAction constructor requires id and title while initializing.

Implementation

const CometChatMessageComposerAction(
    {required this.id,
    required this.title,
    this.iconUrl,
    this.iconUrlPackageName,
    this.iconTint,
    this.iconBackground,
    this.iconCornerRadius,
    this.background,
    this.cornerRadius,
    this.titleStyle,
    this.onItemClick});