CometChatTransferOwnership constructor
CometChatTransferOwnership({
- Key? key,
- required Group group,
- String? title,
- String? searchPlaceholder,
- bool? hideSearch,
- Widget? searchBoxIcon,
- bool? showBackButton,
- Widget? backButton,
- TransferOwnershipStyle? transferOwnershipStyle,
- dynamic onTransferOwnership()?,
- bool? disableUsersPresence,
- GroupMembersRequestBuilder? groupMembersRequestBuilder,
- GroupMembersBuilderProtocol? groupMembersProtocol,
- Widget? subtitleView()?,
- bool? hideSeparator,
- GroupMembersStyle? groupMemberStyle,
- String? emptyStateText,
- String? errorStateText,
- WidgetBuilder? loadingStateView,
- WidgetBuilder? emptyStateView,
- WidgetBuilder? errorStateView,
- ListItemStyle? listItemStyle,
- AvatarStyle? avatarStyle,
- StatusIndicatorStyle? statusIndicatorStyle,
- Widget? selectIcon,
- Widget? submitIcon,
- CometChatTheme? theme,
- VoidCallback? onBack,
- OnError? onError,
- Widget listItemView()?,
Implementation
CometChatTransferOwnership(
{super.key,
required Group group,
this.title,
this.searchPlaceholder,
this.hideSearch,
this.searchBoxIcon,
this.showBackButton,
this.backButton,
this.transferOwnershipStyle,
Function(GroupMember, Group)? onTransferOwnership,
this.disableUsersPresence,
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.selectIcon,
this.submitIcon,
this.theme,
this.onBack,
OnError? onError,
this.listItemView})
: _cometChatTransferOwnershipController =
CometChatTransferOwnershipController(
group: group,
onTransferOwnership: onTransferOwnership,
onError: onError);