CometChatGroupMembers constructor

CometChatGroupMembers({
  1. Key? key,
  2. GroupMembersBuilderProtocol? groupMembersProtocol,
  3. Widget? subtitleView(
    1. BuildContext,
    2. GroupMember
    )?,
  4. bool? hideSeparator,
  5. Widget listItemView(
    1. GroupMember
    )?,
  6. GroupMembersStyle groupMemberStyle = const GroupMembersStyle(),
  7. ScrollController? controller,
  8. CometChatTheme? theme,
  9. String? searchPlaceholder,
  10. Widget? backButton,
  11. bool showBackButton = true,
  12. Widget? searchBoxIcon,
  13. bool hideSearch = false,
  14. SelectionMode? selectionMode,
  15. dynamic onSelection(
    1. List<GroupMember>?
    )?,
  16. String? title,
  17. String? errorStateText,
  18. String? emptyStateText,
  19. dynamic stateCallBack(
    1. CometChatGroupMembersController controller
    )?,
  20. GroupMembersRequestBuilder? groupMembersRequestBuilder,
  21. bool? hideError,
  22. WidgetBuilder? loadingStateView,
  23. WidgetBuilder? emptyStateView,
  24. WidgetBuilder? errorStateView,
  25. ListItemStyle? listItemStyle,
  26. AvatarStyle? avatarStyle,
  27. StatusIndicatorStyle? statusIndicatorStyle,
  28. List<Widget>? appBarOptions,
  29. List<CometChatOption>? options(
    1. Group group,
    2. GroupMember member,
    3. CometChatGroupMembersController controller,
    4. BuildContext context,
    )?,
  30. required Group group,
  31. GroupScopeStyle? groupScopeStyle,
  32. dynamic tailView(
    1. BuildContext,
    2. GroupMember
    )?,
  33. Widget? selectIcon,
  34. Widget? submitIcon,
  35. bool disableUsersPresence = false,
  36. OnError? onError,
  37. VoidCallback? onBack,
  38. dynamic onItemTap(
    1. GroupMember
    )?,
  39. dynamic onItemLongPress(
    1. GroupMember
    )?,
  40. ActivateSelection? activateSelection,
})

Implementation

CometChatGroupMembers(
    {super.key,
    this.groupMembersProtocol,
    this.subtitleView,
    this.hideSeparator,
    this.listItemView,
    this.groupMemberStyle = const GroupMembersStyle(),
    this.controller,
    this.theme,
    this.searchPlaceholder,
    this.backButton,
    this.showBackButton = true,
    this.searchBoxIcon,
    this.hideSearch = false,
    this.selectionMode,
    this.onSelection,
    this.title,
    this.errorStateText,
    this.emptyStateText,
    this.stateCallBack,
    this.groupMembersRequestBuilder,
    this.hideError,
    this.loadingStateView,
    this.emptyStateView,
    this.errorStateView,
    this.listItemStyle,
    this.avatarStyle,
    this.statusIndicatorStyle,
    this.appBarOptions,
    this.options,
    required this.group,
    this.groupScopeStyle,
    this.tailView,
    this.selectIcon,
    this.submitIcon,
    this.disableUsersPresence = false,
    this.onError,
    this.onBack,
    this.onItemTap,
    this.onItemLongPress,
    this.activateSelection});