GroupsConfiguration constructor
const
GroupsConfiguration({
- String? title,
- String? searchPlaceholder,
- bool? showBackButton,
- bool? hideSearch,
- GroupsStyle? groupsStyle,
- GroupsRequestBuilder? groupsRequestBuilder,
- Widget? subtitleView()?,
- Widget listItemView()?,
- ScrollController? controller,
- List<
CometChatOption> ? options(- Group group,
- CometChatGroupsController controller,
- BuildContext context
- Widget? backButton,
- Widget? searchBoxIcon,
- CometChatTheme? theme,
- SelectionMode? selectionMode,
- dynamic onSelection()?,
- String? emptyStateText,
- String? errorStateText,
- WidgetBuilder? loadingStateView,
- WidgetBuilder? emptyStateView,
- WidgetBuilder? errorStateView,
- ListItemStyle? listItemStyle,
- AvatarStyle? avatarStyle,
- StatusIndicatorStyle? statusIndicatorStyle,
- Widget? createGroupIcon,
- JoinProtectedGroupConfiguration? joinProtectedGroupConfiguration,
- bool? hideSeparator,
- Widget? passwordGroupIcon,
- Widget? privateGroupIcon,
- ActivateSelection? activateSelection,
- bool? hideError,
- dynamic stateCallBack(
- CometChatGroupsController controller
- GroupsBuilderProtocol? groupsProtocol,
- List<
Widget> appBarOptions(- BuildContext context
- OnError? onError,
- VoidCallback? onBack,
- dynamic onItemTap()?,
- dynamic onItemLongPress()?,
- Widget? submitIcon,
- Widget? selectionIcon,
- bool? hideAppbar,
- String? controllerTag,
Implementation
const GroupsConfiguration(
{this.title,
this.searchPlaceholder,
this.showBackButton,
this.hideSearch,
this.groupsStyle,
this.groupsRequestBuilder,
this.subtitleView,
this.listItemView,
this.controller,
this.options,
this.backButton,
this.searchBoxIcon,
this.theme,
this.selectionMode,
this.onSelection,
this.emptyStateText,
this.errorStateText,
this.loadingStateView,
this.emptyStateView,
this.errorStateView,
this.listItemStyle,
this.avatarStyle,
this.statusIndicatorStyle,
this.createGroupIcon,
this.joinProtectedGroupConfiguration,
this.hideSeparator,
this.passwordGroupIcon,
this.privateGroupIcon,
this.activateSelection,
this.hideError,
this.stateCallBack,
this.groupsProtocol,
this.appBarOptions,
this.onError,
this.onBack,
this.onItemTap,
this.onItemLongPress,
this.submitIcon,
this.selectionIcon,
this.hideAppbar,
this.controllerTag});