AddMemberConfiguration constructor
const
AddMemberConfiguration({
- dynamic onSelection(
- List<
User> ?, - BuildContext
- List<
- Widget? subtitleView()?,
- bool? disableUsersPresence,
- Widget listItemView()?,
- List<
Widget> appBarOptions(- BuildContext context
- List<
CometChatOption> ? options(- User,
- CometChatUsersController controller
- bool? hideSeparator,
- SelectionMode? selectionMode,
- String? emptyStateText,
- String? errorStateText,
- WidgetBuilder? loadingStateView,
- WidgetBuilder? emptyStateView,
- WidgetBuilder? errorStateView,
- bool? hideError,
- UsersRequestBuilder? usersRequestBuilder,
- UsersBuilderProtocol? usersProtocol,
- String? title,
- String? searchPlaceholder,
- Widget? backButton,
- bool showBackButton = true,
- Widget? searchIcon,
- bool? hideSearch = false,
- CometChatTheme? theme,
- AddMembersStyle? addMembersStyle,
- VoidCallback? onBack,
- Widget? selectionIcon,
- OnError? onError,
- AvatarStyle? avatarStyle,
- ListItemStyle? listItemStyle,
- StatusIndicatorStyle? statusIndicatorStyle,
- 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,
});