CreateGroupConfiguration class

CreateGroupConfiguration is a data class that has configuration properties to customize the functionality and appearance of CometChatCreateGroup can be used by a component where CometChatCreateGroup is a child component

 CreateGroupConfiguration(
         createGroupStyle: CreateGroupStyle(),
         namePlaceholderText: "some name",
         passwordPlaceholderText: "some password"
         );

Constructors

CreateGroupConfiguration({String? title, Widget? createIcon, String? namePlaceholderText, Widget? closeIcon, bool? disableCloseButton, dynamic onCreateTap(Group group)?, OnError? onError, VoidCallback? onBack, CreateGroupStyle? createGroupStyle, CometChatTheme? theme, String? passwordPlaceholderText})
const

Properties

closeIcon Widget?
createIcon create icon
final
createGroupStyle CreateGroupStyle?
createGroupStyle styling properties
final
createIcon Widget?
createIcon create icon
final
disableCloseButton bool?
disableCloseButton toggle visibility for close button
final
hashCode int
The hash code for this object.
no setterinherited
namePlaceholderText String?
namePlaceholderText group name input placeholder
final
onBack VoidCallback?
onError triggered in case of any error
final
onCreateTap → dynamic Function(Group group)?
onCreateTap triggered on create group icon click
final
onError OnError?
onError triggered in case of any error
final
passwordPlaceholderText String?
passwordPlaceholderText group password input placeholder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme CometChatTheme?
theme instance of cometchat theme
final
title String?
title Title of the component
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited