JoinProtectedGroupConfiguration class
JoinProtectedGroupConfiguration is a data class that has configuration properties to customize the functionality and appearance of CometChatJoinProtectedGroup can be used by a component where CometChatJoinProtectedGroup is a child component
JoinProtectedGroupConfiguration(
joinProtectedGroupStyle: JoinProtectedGroupStyle(),
passwordPlaceholderText: "some password",
description: "some description"
);
Constructors
- JoinProtectedGroupConfiguration.new({Widget? closeIcon, Widget? joinIcon, JoinProtectedGroupStyle? joinProtectedGroupStyle, CometChatTheme? theme, dynamic onJoinTap({Group group, String password})?, String? passwordPlaceholderText, String? title, String? description, String? errorStateText, VoidCallback? onBack, OnError? onError})
-
const
Properties
- closeIcon → Widget?
-
closeIcon replace back button
final
- description → String?
-
description sets title of the component
final
- errorStateText → String?
-
errorStateText text to show if any error occurs when joining the group
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- joinIcon → Widget?
-
joinIcon replace create icon
final
- joinProtectedGroupStyle → JoinProtectedGroupStyle?
-
joinProtectedGroupStyle set styling properties
final
- onBack → VoidCallback?
-
onBack callback triggered on closing this screen
final
- onError → OnError?
-
onError callback triggered in case any error happens when fetching users
final
- onJoinTap → dynamic Function({Group group, String password})?
-
onJoinTap triggered on join group icon tap
final
- passwordPlaceholderText → String?
-
passwordPlaceholderText placeholder for password input field
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme → CometChatTheme?
-
theme set custom theme
final
- title → String?
-
title sets title of the component
final
Methods
-
merge(
JoinProtectedGroupConfiguration mergeWith) → JoinProtectedGroupConfiguration -
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