CometChatCreateGroup class
CometChatCreateGroup is a widget that allows users to create different type of groups
CometChatCreateGroup(createGroupStyle: CreateGroupStyle(),);
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CometChatCreateGroup
Constructors
- CometChatCreateGroup({Key? key, String? title, Widget? createIcon, String? namePlaceholderText, Widget? closeIcon, bool? disableCloseButton, dynamic onCreateTap(Group group)?, CreateGroupStyle createGroupStyle = const CreateGroupStyle(), CometChatTheme? theme, String? passwordPlaceholderText, VoidCallback? onBack, OnError? onError})
-
const
Properties
- closeIcon → Widget?
-
closeIcon close icon widget
final
- createGroupStyle → CreateGroupStyle
-
createGroupStyle styling properties
final
- createIcon → Widget?
-
createIcon create icon widget
final
- disableCloseButton → bool?
-
disableCloseButton toggle visibility for close button
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- namePlaceholderText → String?
-
namePlaceholderText group name input placeholder
final
- onBack → VoidCallback?
-
onBack callback triggered on closing this screen
final
- onCreateTap → dynamic Function(Group group)?
-
onCreateTap triggered on create group icon click
final
- onError → OnError?
-
onError callback triggered in case any error happens when trying to create group
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
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< CometChatCreateGroup> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited