AddMemberConfiguration constructor

const AddMemberConfiguration({
  1. dynamic onSelection(
    1. List<User>?,
    2. BuildContext
    )?,
  2. Widget? subtitleView(
    1. BuildContext,
    2. User
    )?,
  3. bool? disableUsersPresence,
  4. Widget listItemView(
    1. User
    )?,
  5. List<Widget> appBarOptions(
    1. BuildContext context
    )?,
  6. List<CometChatOption>? options(
    1. User,
    2. CometChatUsersController controller
    )?,
  7. bool? hideSeparator,
  8. SelectionMode? selectionMode,
  9. String? emptyStateText,
  10. String? errorStateText,
  11. WidgetBuilder? loadingStateView,
  12. WidgetBuilder? emptyStateView,
  13. WidgetBuilder? errorStateView,
  14. bool? hideError,
  15. UsersRequestBuilder? usersRequestBuilder,
  16. UsersBuilderProtocol? usersProtocol,
  17. String? title,
  18. String? searchPlaceholder,
  19. Widget? backButton,
  20. bool showBackButton = true,
  21. Widget? searchIcon,
  22. bool? hideSearch = false,
  23. CometChatTheme? theme,
  24. AddMembersStyle? addMembersStyle,
  25. VoidCallback? onBack,
  26. Widget? selectionIcon,
  27. OnError? onError,
  28. AvatarStyle? avatarStyle,
  29. ListItemStyle? listItemStyle,
  30. StatusIndicatorStyle? statusIndicatorStyle,
  31. Widget? submitIcon,
})

Implementation

const AddMemberConfiguration({
  this.onSelection,
  this.subtitleView,
  this.disableUsersPresence,
  this.listItemView,
  this.appBarOptions,
  this.options,
  this.hideSeparator,
  this.selectionMode,
  this.emptyStateText,
  this.errorStateText,
  this.loadingStateView,
  this.emptyStateView,
  this.errorStateView,
  this.hideError,
  this.usersRequestBuilder,
  this.usersProtocol,
  this.title,
  this.searchPlaceholder,
  this.backButton,
  this.showBackButton = true,
  this.searchIcon,
  this.hideSearch = false,
  this.theme,
  this.addMembersStyle,
  this.onBack,
  this.selectionIcon,
  this.onError,
  this.avatarStyle,
  this.listItemStyle,
  this.statusIndicatorStyle,
  this.submitIcon,
});