TransferOwnershipConfiguration constructor

const TransferOwnershipConfiguration({
  1. String? title,
  2. String? searchPlaceholder,
  3. bool? hideSearch,
  4. bool? showBackButton,
  5. Widget? backButton,
  6. dynamic onTransferOwnership(
    1. GroupMember,
    2. Group
    )?,
  7. bool disableUsersPresence = false,
  8. Widget? searchBoxIcon,
  9. GroupMembersRequestBuilder? groupMembersRequestBuilder,
  10. GroupMembersBuilderProtocol? groupMembersProtocol,
  11. Widget? subtitleView(
    1. BuildContext,
    2. GroupMember
    )?,
  12. bool? hideSeparator,
  13. GroupMembersStyle? groupMemberStyle,
  14. String? emptyStateText,
  15. String? errorStateText,
  16. WidgetBuilder? loadingStateView,
  17. WidgetBuilder? emptyStateView,
  18. WidgetBuilder? errorStateView,
  19. ListItemStyle? listItemStyle,
  20. AvatarStyle? avatarStyle,
  21. StatusIndicatorStyle? statusIndicatorStyle,
  22. TransferOwnershipStyle? transferOwnershipStyle,
  23. Widget? selectIcon,
  24. Widget? submitIcon,
  25. CometChatTheme? theme,
  26. VoidCallback? onBack,
  27. OnError? onError,
  28. Widget listItemView(
    1. GroupMember
    )?,
})

Implementation

const TransferOwnershipConfiguration(
    {this.title,
    this.searchPlaceholder,
    this.hideSearch,
    this.showBackButton,
    this.backButton,
    this.onTransferOwnership,
    this.disableUsersPresence = false,
    this.searchBoxIcon,
    this.groupMembersRequestBuilder,
    this.groupMembersProtocol,
    this.subtitleView,
    this.hideSeparator,
    this.groupMemberStyle,
    this.emptyStateText,
    this.errorStateText,
    this.loadingStateView,
    this.emptyStateView,
    this.errorStateView,
    this.listItemStyle,
    this.avatarStyle,
    this.statusIndicatorStyle,
    this.transferOwnershipStyle,
    this.selectIcon,
    this.submitIcon,
    this.theme,
    this.onBack,
    this.onError,
    this.listItemView});