BannedMemberConfiguration constructor

BannedMemberConfiguration({
  1. UIBannedGroupMemberRequestBuilder? requestBuilder,
  2. bool? hideSeparator,
  3. Widget childView(
    1. GroupMember
    )?,
  4. BannedMembersStyle bannedMembersStyle = const BannedMembersStyle(),
  5. List<CometChatOption>? options(
    1. Group group,
    2. GroupMember member,
    3. CometChatBannedMembersController controller,
    4. BuildContext context,
    )?,
  6. ScrollController? controller,
  7. CometChatTheme? theme,
  8. String? searchPlaceholder,
  9. Widget? backButton,
  10. bool showBackButton = true,
  11. Widget? searchBoxIcon,
  12. bool hideSearch = true,
  13. SelectionMode? selectionMode,
  14. dynamic onSelection(
    1. List<GroupMember>?
    )?,
  15. String? title,
  16. String? errorStateText,
  17. String? emptyStateText,
  18. Widget? subtitleView(
    1. GroupMember
    )?,
  19. AvatarStyle? avatarStyle,
  20. bool? disableUsersPresence,
  21. WidgetBuilder? loadingStateView,
  22. WidgetBuilder? emptyStateView,
  23. WidgetBuilder? errorStateView,
  24. bool? hideError,
  25. StatusIndicatorStyle? statusIndicatorStyle,
  26. OnError? onError,
  27. VoidCallback? onBack,
  28. dynamic onItemTap(
    1. User
    )?,
  29. dynamic onItemLongPress(
    1. User
    )?,
  30. ActivateSelection? activateSelection,
  31. List<Widget>? appBarOptions,
  32. ListItemStyle? listItemStyle,
  33. BannedMemberBuilderProtocol? bannedMemberProtocol,
  34. BannedGroupMembersRequestBuilder? bannedMemberRequestBuilder,
  35. String? unbanIconUrl,
  36. String? unbanIconUrlPackageName,
  37. dynamic stateCallBack(
    1. CometChatBannedMembersController controller
    )?,
})

Implementation

BannedMemberConfiguration(
    {this.requestBuilder,
    this.hideSeparator,
    this.childView,
    this.bannedMembersStyle = const BannedMembersStyle(),
    this.options,
    this.controller,
    this.theme,
    this.searchPlaceholder,
    this.backButton,
    this.showBackButton = true,
    this.searchBoxIcon,
    this.hideSearch = true,
    this.selectionMode,
    this.onSelection,
    this.title,
    this.errorStateText,
    this.emptyStateText,
    this.subtitleView,
    this.avatarStyle,
    this.disableUsersPresence,
    this.loadingStateView,
    this.emptyStateView,
    this.errorStateView,
    this.hideError,
    this.statusIndicatorStyle,
    this.onError,
    this.onBack,
    this.onItemTap,
    this.onItemLongPress,
    this.activateSelection,
    this.appBarOptions,
    this.listItemStyle,
    this.bannedMemberProtocol,
    this.bannedMemberRequestBuilder,
    this.unbanIconUrl,
    this.unbanIconUrlPackageName,
    this.stateCallBack});