CometChatCreateGroup constructor

const CometChatCreateGroup({
  1. Key? key,
  2. String? title,
  3. Widget? createIcon,
  4. String? namePlaceholderText,
  5. Widget? closeIcon,
  6. bool? disableCloseButton,
  7. dynamic onCreateTap(
    1. Group group
    )?,
  8. CreateGroupStyle createGroupStyle = const CreateGroupStyle(),
  9. CometChatTheme? theme,
  10. String? passwordPlaceholderText,
  11. VoidCallback? onBack,
  12. OnError? onError,
})

Implementation

const CometChatCreateGroup(
    {super.key,
    this.title,
    this.createIcon,
    this.namePlaceholderText,
    this.closeIcon,
    this.disableCloseButton,
    this.onCreateTap,
    this.createGroupStyle = const CreateGroupStyle(),
    this.theme,
    this.passwordPlaceholderText,
    this.onBack,
    this.onError});